From: "Pedro CĂ´rte-Real" Date: 2006-08-01T00:55:50+09:00 Subject: Re: Weird elusive bug using Comparable On 7/31/06, Robin Stocker wrote: > How about something like this (untested): > > def <=>(other) > VALS.map{ |key| self.send(key) } <=> VALS.map{ |key| other.send(key) } > end Good idea. I'm gonna try it. Pedro.