Class: Lite::Redis::Configuration
- Inherits:
-
Object
- Object
- Lite::Redis::Configuration
- Defined in:
- lib/lite/redis/configuration.rb
Instance Attribute Summary collapse
-
#client ⇒ Object
Returns the value of attribute client.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
12 13 14 |
# File 'lib/lite/redis/configuration.rb', line 12 def initialize @client = ::Redis.new end |
Instance Attribute Details
#client ⇒ Object
Returns the value of attribute client.
10 11 12 |
# File 'lib/lite/redis/configuration.rb', line 10 def client @client end |