Hi all

a = [:one, :two, :three, :six]
b = [:two, :four, :five: six]

I want to extract the values of two arrays which exist in both ones (a
and b):

# => [:two, :six]

Does there exist a method for this?

Thanks
Josh
-- 
Posted via http://www.ruby-forum.com/.