From: Lowell Kirsh Date: 2005-08-19T07:56:19+09:00 Subject: Re: is there a shorter way to compare these 2 objects? James Edward Gray II wrote: > def <=>( other ) > [@a, @b, @c, @d] <=> [other.a, other.b, other.c, other.d] > end Great, this is *exactly* what I was looking for :)