Method: ActiveRecord::Tasks::MySQLDatabaseTasks#initialize

Defined in:
lib/active_record/tasks/mysql_database_tasks.rb

#initialize(db_config) ⇒ MySQLDatabaseTasks

Returns a new instance of MySQLDatabaseTasks.



14
15
16
17
# File 'lib/active_record/tasks/mysql_database_tasks.rb', line 14

def initialize(db_config)
  @db_config = db_config
  @configuration_hash = db_config.configuration_hash
end