Class: Weathercock::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/weathercock.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfig

Returns a new instance of Config.



11
12
13
# File 'lib/weathercock.rb', line 11

def initialize
  @namespace = "weathercock"
end

Instance Attribute Details

#namespaceObject

Returns the value of attribute namespace.



9
10
11
# File 'lib/weathercock.rb', line 9

def namespace
  @namespace
end

#redisObject

Returns the value of attribute redis.



9
10
11
# File 'lib/weathercock.rb', line 9

def redis
  @redis
end