Class: Weathercock::Config
- Inherits:
-
Object
- Object
- Weathercock::Config
- Defined in:
- lib/weathercock.rb
Instance Attribute Summary collapse
-
#namespace ⇒ Object
Returns the value of attribute namespace.
-
#redis ⇒ Object
Returns the value of attribute redis.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
Returns a new instance of Config.
11 12 13 |
# File 'lib/weathercock.rb', line 11 def initialize @namespace = "weathercock" end |
Instance Attribute Details
#namespace ⇒ Object
Returns the value of attribute namespace.
9 10 11 |
# File 'lib/weathercock.rb', line 9 def namespace @namespace end |
#redis ⇒ Object
Returns the value of attribute redis.
9 10 11 |
# File 'lib/weathercock.rb', line 9 def redis @redis end |