class Osbourne::Locks::NOOP

Protected Instance Methods

lock(_key, _ttl) click to toggle source
# File lib/osbourne/locks/noop.rb, line 12
def lock(_key, _ttl)
  true
end
lock!(key, ttl) click to toggle source
# File lib/osbourne/locks/noop.rb, line 16
def lock!(key, ttl)
  # do nothing
end
unlock!(key) click to toggle source
# File lib/osbourne/locks/noop.rb, line 20
def unlock!(key)
  # do nothing
end