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.
12 |
# File 'lib/rufus/scheduler/locks.rb', line 12 def lock; true; end |
#locked? ⇒ Boolean
14 |
# File 'lib/rufus/scheduler/locks.rb', line 14 def locked?; true; end |
#unlock ⇒ Object
15 |
# File 'lib/rufus/scheduler/locks.rb', line 15 def unlock; true; end |