Exception: Redis::Lock::Error
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Redis::Lock::Error
- Defined in:
- lib/redis-lock.rb
Instance Attribute Summary collapse
-
#lock ⇒ Object
readonly
Returns the value of attribute lock.
Instance Method Summary collapse
-
#initialize(lock) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(lock) ⇒ Error
Returns a new instance of Error.
223 224 225 |
# File 'lib/redis-lock.rb', line 223 def initialize(lock) @lock = lock end |
Instance Attribute Details
#lock ⇒ Object (readonly)
Returns the value of attribute lock.
221 222 223 |
# File 'lib/redis-lock.rb', line 221 def lock @lock end |