Class: DataMigrations::Instruction::Set
- Defined in:
- lib/data_migrations/instruction/set.rb
Instance Attribute Summary collapse
-
#column ⇒ Object
readonly
Returns the value of attribute column.
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Attributes inherited from Base
#columns, #migration, #options
Instance Method Summary collapse
-
#initialize(migration, column, value) ⇒ Set
constructor
A new instance of Set.
- #statements ⇒ Object
Methods inherited from Base
Constructor Details
Instance Attribute Details
#column ⇒ Object (readonly)
Returns the value of attribute column.
4 5 6 |
# File 'lib/data_migrations/instruction/set.rb', line 4 def column @column end |
#value ⇒ Object (readonly)
Returns the value of attribute value.
4 5 6 |
# File 'lib/data_migrations/instruction/set.rb', line 4 def value @value end |
Instance Method Details
#statements ⇒ Object
12 13 14 |
# File 'lib/data_migrations/instruction/set.rb', line 12 def statements [update_statement] end |