On 7/31/06, Robin Stocker <robin / nibor.org> 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.