class Dynflow::Semaphores::Dummy
Public Instance Methods
free()
click to toggle source
# File lib/dynflow/semaphores/dummy.rb, line 28 def free 1 end
get(n)
click to toggle source
# File lib/dynflow/semaphores/dummy.rb, line 24 def get(n) n end
get_waiting()
click to toggle source
# File lib/dynflow/semaphores/dummy.rb, line 10 def get_waiting nil end
has_waiting?()
click to toggle source
# File lib/dynflow/semaphores/dummy.rb, line 14 def has_waiting? false end
release(*args)
click to toggle source
# File lib/dynflow/semaphores/dummy.rb, line 18 def release(*args) end
save()
click to toggle source
# File lib/dynflow/semaphores/dummy.rb, line 21 def save end
wait(thing)
click to toggle source
# File lib/dynflow/semaphores/dummy.rb, line 6 def wait(thing) true end