Method: BlueprintConfig::Configuration#reload!
- Defined in:
- lib/blueprint_config/configuration.rb
#reload! ⇒ Object
38 39 40 41 42 43 44 45 |
# File 'lib/blueprint_config/configuration.rb', line 38 def reload! new_config = @backends.each_with_object(OptionsHash.new) do |backend, config| config.deep_merge! OptionsHash.new(backend.load_keys, source: backend.source) end @config = new_config @config = process_erb(new_config) end |