Module: Redis::Aid::ClassMethods

Defined in:
lib/redis/aid.rb

Overview

<< self

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#redisObject

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