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.
12 13 14 |
# File 'lib/weathercock.rb', line 12 def initialize @namespace = "weathercock" end |
Instance Attribute Details
#namespace ⇒ Object
Returns the value of attribute namespace.
10 11 12 |
# File 'lib/weathercock.rb', line 10 def namespace @namespace end |
#redis ⇒ Object
Returns the value of attribute redis.
10 11 12 |
# File 'lib/weathercock.rb', line 10 def redis @redis end |