Module: Redis::Aid
- Defined in:
- lib/redis/aid.rb,
lib/redis/aid/version.rb
Defined Under Namespace
Modules: ClassMethods, InstanceMethods, Version
Class Attribute Summary collapse
-
.redis ⇒ Object
Returns the value of attribute redis.
Class Method Summary collapse
-
.included(base) ⇒ Object
InstanceMethods.
- .Namespace(ns) ⇒ Object (also: Ns)
-
.version ⇒ Object
Version.
Class Attribute Details
.redis ⇒ Object
Returns the value of attribute redis.
9 10 11 |
# File 'lib/redis/aid.rb', line 9 def redis @redis end |
Class Method Details
.included(base) ⇒ Object
InstanceMethods
40 41 42 43 44 |
# File 'lib/redis/aid.rb', line 40 def self.included(base) # :nodoc: base.send :extend, ClassMethods base.send :include, InstanceMethods base.ns = @ns and @ns = nil if @ns end |