Class: ActiveRecord::Tasks::NullDBDatabaseTasks

Inherits:
Object
  • Object
show all
Defined in:
lib/active_record/tasks/nulldb_database_tasks.rb

Instance Method Summary collapse

Constructor Details

#initialize(configuration) ⇒ NullDBDatabaseTasks

Returns a new instance of NullDBDatabaseTasks.


2
3
4
# File 'lib/active_record/tasks/nulldb_database_tasks.rb', line 2

def initialize(configuration)
  @configuration = configuration
end

Instance Method Details

#clear_active_connections!Object


26
27
28
# File 'lib/active_record/tasks/nulldb_database_tasks.rb', line 26

def clear_active_connections!
  # NO-OP
end

#create(master_established = false) ⇒ Object


6
7
8
# File 'lib/active_record/tasks/nulldb_database_tasks.rb', line 6

def create(master_established = false)
  # NO-OP
end

#dropObject


10
11
12
# File 'lib/active_record/tasks/nulldb_database_tasks.rb', line 10

def drop
  # NO-OP
end

#purgeObject


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

def purge
  # NO-OP
end

#structure_dump(filename, extra_flags) ⇒ Object


18
19
20
# File 'lib/active_record/tasks/nulldb_database_tasks.rb', line 18

def structure_dump(filename, extra_flags)
  # NO-OP
end

#structure_load(filename, extra_flags) ⇒ Object


22
23
24
# File 'lib/active_record/tasks/nulldb_database_tasks.rb', line 22

def structure_load(filename, extra_flags)
  # NO-OP
end