Class: Climine::Config
- Inherits:
-
Hashie::Mash
- Object
- Hashie::Mash
- Climine::Config
- Defined in:
- lib/climine/config.rb
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
Returns a new instance of Config.
5 6 7 |
# File 'lib/climine/config.rb', line 5 def initialize super YAML.load_file(ENV['CLIMINE_CONF'] || 'climine.yml') end |