Brian Candler wrote in post #994252:
>
> The point is that the <=> operator is applied to pairs of elements in
> the array, not to the container object itself.
>

In other words, your spaceship operator only gets applied to objects of 
your class--not any ole' array.

-- 
Posted via http://www.ruby-forum.com/.