From: Jean Nibee Date: 2007-03-01T15:30:35+09:00 Subject: Re: Array comparison.. why does this work. > > Don't forget, you can always just look at the source[1]. > It looks to me like it converts the second array to a hash, then > iterates through the first array, checking if each element is in the > newly created hash. > If it is, it skips it. If not, the value goes in the new array. > > -Justin > > [1] http://ruby-doc.org/core/classes/Array.src/M002261.html Awesome I didn't now where to find the sources to read them. Thanks! -- Posted via http://www.ruby-forum.com/.