Class: Arfy::MigrationBuilder::RenameTable

Inherits:
GenericMigration show all
Includes:
Reversible
Defined in:
lib/arfy/migration_builder/builders/rename_table.rb

Instance Method Summary collapse

Methods inherited from GenericMigration

#code_for_template, #respond_to?

Constructor Details

#initialize(table_name, new_table_name) ⇒ RenameTable

Returns a new instance of RenameTable.



8
9
10
11
# File 'lib/arfy/migration_builder/builders/rename_table.rb', line 8

def initialize(table_name, new_table_name)
  @new_table_name = new_table_name
  super table_name
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Arfy::MigrationBuilder::GenericMigration