Method: Array#move

Defined in:
lib/factoryform/utils.rb

#move(from, to) ⇒ Object



2
3
4
# File 'lib/factoryform/utils.rb', line 2

def move(from, to)
  insert(to, delete_at(from))
end