Module: Redis::Aid::ClassMethods
- Defined in:
- lib/redis/aid.rb
Overview
<< self
Instance Attribute Summary collapse
-
#redis ⇒ Object
Returns the value of attribute redis.
Instance Method Summary collapse
Instance Attribute Details
#redis ⇒ Object
Returns the value of attribute redis.
23 24 25 |
# File 'lib/redis/aid.rb', line 23 def redis @redis end |
Instance Method Details
#ns=(namespace) ⇒ Object
29 30 31 |
# File 'lib/redis/aid.rb', line 29 def ns=(namespace) @redis = Nest.new(namespace, redis) end |