Method: FactoryForm::Form#move_down
- Defined in:
- lib/factoryform/form.rb
#move_down(field, steps = 1) ⇒ Object
45 46 47 |
# File 'lib/factoryform/form.rb', line 45 def move_down(field, steps = 1) @fields.move_object(field, @fields.index(field) + steps) end |