Class: RedisWebManager::Base
- Inherits:
-
Object
- Object
- RedisWebManager::Base
- Defined in:
- lib/redis_web_manager/base.rb
Direct Known Subclasses
Action, Connection, Data, Info
Instance Attribute Summary collapse
-
#instance ⇒ Object
Returns the value of attribute instance.
Instance Method Summary collapse
-
#initialize(instance) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(instance) ⇒ Base
Returns a new instance of Base.
7 8 9 |
# File 'lib/redis_web_manager/base.rb', line 7 def initialize(instance) @instance = instance || redises.keys[0] end |
Instance Attribute Details
#instance ⇒ Object
Returns the value of attribute instance.
5 6 7 |
# File 'lib/redis_web_manager/base.rb', line 5 def instance @instance end |