On 2002.05.18, Paul Brannan <pbrannan / atdesk.com> wrote:
> However:
> 
>   class Foo
>     include Comparable
>     def <=>(other)
>       raise "uh oh"
>     end
>   end
>   p Foo.new == 42
> 
> prints:
> 
>   false

Sure.  Try:

  p Foo.new <=> 42

What happens?

-- Dossy

-- 
Dossy Shiobara                       mail: dossy / panoptic.com 
Panoptic Computer Network             web: http://www.panoptic.com/ 
  "He realized the fastest way to change is to laugh at your own
    folly -- then you can let go and quickly move on." (p. 70)