Module: Enumark::Config
- Defined in:
- lib/enumark/config.rb
Class Method Summary collapse
Class Method Details
.get(key) ⇒ Object
10 11 12 |
# File 'lib/enumark/config.rb', line 10 def get(key) @cfg[key] end |
.set(**cfg) ⇒ Object
6 7 8 |
# File 'lib/enumark/config.rb', line 6 def set(**cfg) (@cfg ||= {}).merge!(cfg) end |