class Array
Public Instance Methods
move(from,to)
click to toggle source
# File lib/doubly_linked_list.rb, line 2 def move(from,to) insert(to, delete_at(from)) end
# File lib/doubly_linked_list.rb, line 2 def move(from,to) insert(to, delete_at(from)) end