Class: Rediska::Configuration
- Inherits:
-
Object
- Object
- Rediska::Configuration
- Defined in:
- lib/rediska/configuration.rb
Instance Attribute Summary collapse
-
#database ⇒ Object
Returns the value of attribute database.
-
#namespace ⇒ Object
Returns the value of attribute namespace.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
7 8 9 |
# File 'lib/rediska/configuration.rb', line 7 def initialize @database = :memory end |
Instance Attribute Details
#database ⇒ Object
Returns the value of attribute database.
5 6 7 |
# File 'lib/rediska/configuration.rb', line 5 def database @database end |
#namespace ⇒ Object
Returns the value of attribute namespace.
5 6 7 |
# File 'lib/rediska/configuration.rb', line 5 def namespace @namespace end |