Class: Cupcakinator::Config
- Inherits:
-
Hash
- Object
- Hash
- Cupcakinator::Config
- Includes:
- Hashie::Extensions::Coercion, Hashie::Extensions::MethodAccess
- Defined in:
- lib/cupcakinator/config.rb
Overview
known configuration variables method dir file
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(h = {}) ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize(h = {}) ⇒ Config
Returns a new instance of Config.
16 17 18 19 20 21 |
# File 'lib/cupcakinator/config.rb', line 16 def initialize(h={}) super h.each_pair do |k,v| self[k] = v end end |