lib/dry/config/base.rb
# Load the configuration without saving state.  Useful for validation of complex configuration resolution without
#   altering the existing state.
Load the configuration without saving state.  Useful for validation of complex configuration resolution without
altering the existing state.
Load the configuration without saving state . Useful for validation of complex configuration resolution without altering the existing state .
def load_unpruned(environment, *filenames)
        raise 'Unspecified filename' if filenames.nil?
        environment = environment.to_sym if symbolize? && !environment.nil?
        config = {}.merge @configuration
        filenames.each do |filename|
          config.deeper_merge! resolve_config(environment, filename)
        end
        config
      end
def load_unpruned ( environment , * filenames ) raise 'Unspecified filename' if filenames . nil? environment = environment . to_sym if symbolize? && ! environment . nil? config = { } . merge @configuration filenames . each do | filename | config . deeper_merge! resolve_config ( environment , filename ) end config end
Load the configuration without saving state.
Load the configuration without saving state .
# raise 'Unspecified environment' if environment.nil? # ensure symbol if symbolize? # get a clone of the current configuration # merge all top level settings with the defaults set in the #init
environment
<not_specific>
filenames
<not_specific>