Exception: Redis::Lock::ErrorBase
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Redis::Lock::ErrorBase
- 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) ⇒ ErrorBase
constructor
A new instance of ErrorBase.
Constructor Details
#initialize(lock) ⇒ ErrorBase
Returns a new instance of ErrorBase.
184 185 186 |
# File 'lib/redis-lock.rb', line 184 def initialize(lock) @lock = lock end |
Instance Attribute Details
#lock ⇒ Object (readonly)
Returns the value of attribute lock.
182 183 184 |
# File 'lib/redis-lock.rb', line 182 def lock @lock end |