Class: Arfy::MigrationBuilder::RenameTable
- Inherits:
-
GenericMigration
- Object
- GenericMigration
- Arfy::MigrationBuilder::RenameTable
- Includes:
- Reversible
- Defined in:
- lib/arfy/migration_builder/builders/rename_table.rb
Instance Method Summary collapse
-
#initialize(table_name, new_table_name) ⇒ RenameTable
constructor
A new instance of RenameTable.
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