From: James Edward Gray II Date: 2006-03-17T23:15:42+09:00 Subject: Re: Card tricks with Ruby On Mar 17, 2006, at 7:04 AM, Farrel Lifson wrote: > I think you're confusing the <=> operator needed to mixin Enumerable. Technically, the only method required by Enumerable is each(). You do need to provide <=>() if you want to use method like sort(), min (), or max() without a block though. The Comparable mix-in requires <=>(). James Edward Gray II