lib/dry/config/base.rb
# Load the configuration and save state.
#
# We call #load! and provide a name of the file to read as it's argument. We can also pass in some
# options, but at the moment it's being used to allow per-environment
# overrides in Rails
Load the configuration and save state.
We call #load. and provide a name of the file to read as it's argument. We can also pass in some
options, but at the moment it's being used to allow per-environment
overrides in Rails
Load the configuration and save state . We call #load . and provide a name of the file to read as it ' s argument . We can also pass in some options but at the moment it ' s being used to allow per - environment overrides in Rails
def load!(environment, *filenames)
        @environment = environment
        @filenames = filenames
        @configuration = load_unpruned(environment, *filenames)
        @prune.each do |env|
          @configuration.delete(env)
        end
      end
def load! ( environment , * filenames ) @environment = environment @filenames = filenames @configuration = load_unpruned ( environment , * filenames ) @prune . each do | env | @configuration . delete ( env ) end end
Load the configuration and save state.
Load the configuration and save state .
# save these in case we #reload # load the configuration # Prune all known environments so that we end up with the top-level configuration.
environment
<not_specific>
filenames
<not_specific>