>>>>> "W" == Warren Brown <wkb / airmail.net> writes:

W>     So why have Array#sort allow comparisons where possible (throwing an
W> error where it is not), but not allow comparison operators to do the
W> same?

 ruby give you the possibility to sort an array, but it don't say that 2
 arrays are comparable, precisely because it exist case when it can't
 compare 2 arrays.


W>     This seems more consistent to me.  Anyone else?

 See [ruby-talk:84370]



Guy Decoux