The canonical Array difference example in Ruby is:
[ 1, 1, 2, 2, 3, 3, 4, 5 ] - [ 1, 2, 4 ] #=> [ 3, 3, 5 ]
What\'s the best way to ge
This is all I can think of so far:
[1, 2, 4].each { |x| ary.delete_at ary.index(x) }