Exception: Dynflow::Coordinator::LockError
- Defined in:
- lib/dynflow/coordinator.rb
Instance Attribute Summary collapse
-
#lock ⇒ Object
readonly
Returns the value of attribute lock.
Instance Method Summary collapse
-
#initialize(lock) ⇒ LockError
constructor
A new instance of LockError.
Methods inherited from Error
Constructor Details
#initialize(lock) ⇒ LockError
Returns a new instance of LockError.
21 22 23 24 |
# File 'lib/dynflow/coordinator.rb', line 21 def initialize(lock) @lock = lock super("Unable to acquire lock #{lock}") end |
Instance Attribute Details
#lock ⇒ Object (readonly)
Returns the value of attribute lock.
19 20 21 |
# File 'lib/dynflow/coordinator.rb', line 19 def lock @lock end |