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.
229 230 231 |
# File 'lib/redis-lock.rb', line 229 def initialize(lock) @lock = lock end |
Instance Attribute Details
#lock ⇒ Object (readonly)
Returns the value of attribute lock.
227 228 229 |
# File 'lib/redis-lock.rb', line 227 def lock @lock end |