From: "Pedro CĂ´rte-Real" Date: 2006-08-01T00:55:26+09:00 Subject: Re: Weird elusive bug using Comparable On 7/31/06, Robert Klemme wrote: > > I thought date1 == date2 was the same as (date1 <=> date2> == 0 but > > apparently not. > > No, it's differently implemented. How then? According to the docs if you implement <=> and include Comparable you get ==. But my second assertion is failing when it should be blowing up when trying to do nil <=> nil. Pedro.