class Dynflow::Semaphores::Dummy

Public Instance Methods

free() click to toggle source
# File lib/dynflow/semaphores/dummy.rb, line 27
def free
  1
end
get(n) click to toggle source
# File lib/dynflow/semaphores/dummy.rb, line 23
def get(n)
  n
end
get_waiting() click to toggle source
# File lib/dynflow/semaphores/dummy.rb, line 9
def get_waiting
  nil
end
has_waiting?() click to toggle source
# File lib/dynflow/semaphores/dummy.rb, line 13
def has_waiting?
  false
end
release(*args) click to toggle source
# File lib/dynflow/semaphores/dummy.rb, line 17
def release(*args)
end
save() click to toggle source
# File lib/dynflow/semaphores/dummy.rb, line 20
def save
end
wait(thing) click to toggle source
# File lib/dynflow/semaphores/dummy.rb, line 5
def wait(thing)
  true
end