Class: DataMigrations::Instruction::Remove
- Defined in:
- lib/data_migrations/instruction/remove.rb
Instance Attribute Summary
Attributes inherited from Base
#columns, #migration, #options
Instance Method Summary collapse
-
#initialize(migration, *columns) ⇒ Remove
constructor
A new instance of Remove.
- #statements ⇒ Object
Methods inherited from Base
Constructor Details
#initialize(migration, *columns) ⇒ Remove
Returns a new instance of Remove.
4 5 6 7 8 |
# File 'lib/data_migrations/instruction/remove.rb', line 4 def initialize(migration, *columns) super(migration) self. = columns. self.columns = columns end |
Instance Method Details
#statements ⇒ Object
10 11 12 |
# File 'lib/data_migrations/instruction/remove.rb', line 10 def statements remove_statements end |