Method: ActiveRecord::DatabaseConfigurations#initialize

Defined in:
activerecord/lib/active_record/database_configurations.rb

#initialize(configurations = {}) ⇒ DatabaseConfigurations

Returns a new instance of DatabaseConfigurations.



67
68
69
# File 'activerecord/lib/active_record/database_configurations.rb', line 67

def initialize(configurations = {})
  @configurations = build_configs(configurations)
end