Module: Garufa::Config
Instance Method Summary collapse
Instance Method Details
#[](key) ⇒ Object
5 6 7 |
# File 'lib/garufa/config.rb', line 5 def [](key) settings[key] end |
#[]=(key, value) ⇒ Object
9 10 11 |
# File 'lib/garufa/config.rb', line 9 def []=(key, value) settings[key] = value end |
#settings ⇒ Object
13 14 15 |
# File 'lib/garufa/config.rb', line 13 def settings @settings ||= {} end |