From: Siep Korteling Date: 2008-09-16T06:39:52+09:00 Subject: Re: array question Joel VanderWerf wrote: (...) > > Or: > > require 'set' > Set.new(a1) ^ Set.new(a2) > I figured this out by typo, allthough it is in the documentation. Anyway, you can do Set.new(a1) ^ a2 if a2 is enumerable. Regards, Siep -- Posted via http://www.ruby-forum.com/.