What's the method/operator between the two arrays for purpose like,
arr1=[1,2,3,4,5,6,7,8,9,10]
arr2=[2,5,9]
#code to remove the item of arr2 from arr1.
p arr1
#=>[1,3,4,6,7,8,10]
another is,
arr3=[a,b,c,d,e,f,g,h,i,j,k,l,m,n,o]
arr4=[a,i,n]
#code to remove the item of arr4 from arr3.
p arr3
#=>[b,c,d,e,f,g,h,j,k,l,m,o]
···
--
Posted via http://www.ruby-forum.com/.