------ art_46131_20705676.1164254075567 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline On 11/23/06, Darshan.Ishaya <Darshan.Ishaya / gmail.com> wrote: > > The Coolest Way: > > def same_elems?(array1, array2) > return false unless array1.length array2.length > > compare roc.new do |x,y| > if (x.class y.class) > x <