Class: Poper2::Config
- Inherits:
-
Object
- Object
- Poper2::Config
- Defined in:
- lib/poper2/config.rb
Instance Method Summary collapse
-
#initialize(config_hash = ConfigFile.new.to_h) ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize(config_hash = ConfigFile.new.to_h) ⇒ Config
Returns a new instance of Config.
3 4 5 |
# File 'lib/poper2/config.rb', line 3 def initialize(config_hash = ConfigFile.new.to_h) @config_hash = config_hash end |