Class: Rufus::Scheduler::NullLock
- Inherits:
-
Object
- Object
- Rufus::Scheduler::NullLock
- Defined in:
- lib/rufus/scheduler/locks.rb
Overview
A lock that can always be acquired
Instance Method Summary collapse
-
#lock ⇒ Object
Locking is always successful.
- #locked? ⇒ Boolean
- #unlock ⇒ Object
Instance Method Details
#lock ⇒ Object
Locking is always successful.
37 |
# File 'lib/rufus/scheduler/locks.rb', line 37 def lock; true; end |
#locked? ⇒ Boolean
39 |
# File 'lib/rufus/scheduler/locks.rb', line 39 def locked?; true; end |
#unlock ⇒ Object
40 |
# File 'lib/rufus/scheduler/locks.rb', line 40 def unlock; true; end |