Method: ActiveRecord::Tasks::SQLiteDatabaseTasks#initialize
- Defined in:
- lib/active_record/tasks/sqlite_database_tasks.rb
#initialize(db_config, root = ActiveRecord::Tasks::DatabaseTasks.root) ⇒ SQLiteDatabaseTasks
Returns a new instance of SQLiteDatabaseTasks.
12 13 14 15 |
# File 'lib/active_record/tasks/sqlite_database_tasks.rb', line 12 def initialize(db_config, root = ActiveRecord::Tasks::DatabaseTasks.root) @db_config = db_config @root = root end |