Module: SimplyConfigurable::ClassMethods
- Defined in:
- lib/simply_configurable.rb
Instance Method Summary collapse
Instance Method Details
#config(options = {}) ⇒ Object
17 18 19 20 21 22 23 24 25 |
# File 'lib/simply_configurable.rb', line 17 def config( = {}) @config ||= HashWithIndifferentAccess.new({}) if @config.merge!( || {}) end @config end |