lib/mongoid/config.rb
# From a hash of settings, load all the configuration.
#
# @example Load the configuration.
#   config.load_configuration(settings)
#
# @param [ Hash ] settings The configuration settings.
From a hash of settings, load all the configuration.
From a hash of settings load all the configuration .
def load_configuration(settings)
      configuration = settings.with_indifferent_access
      self.options = configuration[:options]
      self.clients = configuration[:clients]
      set_log_levels
    end
def load_configuration ( settings ) configuration = settings . with_indifferent_access self . options = configuration [ :options ] self . clients = configuration [ :clients ] set_log_levels end
From a hash of settings, load all the configuration.
From a hash of settings load all the configuration .
settings
<not_specific>
<not_specific>
settings The configuration settings.
settings The configuration settings .
example
Load the configuration. config.load_configuration(settings)
Load the configuration . config . load_configuration ( settings )