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.



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

def initialize
  @namespace = "weathercock"
end

Instance Attribute Details

#namespaceObject

Returns the value of attribute namespace.



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

def namespace
  @namespace
end

#redisObject

Returns the value of attribute redis.



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

def redis
  @redis
end