From: Gavin Sinclair Date: 2002-10-26T10:08:46+09:00 Subject: Re: How come true, false don't support <=> (comparison) operator? From: "William Djaja Tjokroaminata" > Rudi Cilibrasi wrote: > > > In thinking about possibilities for future versions of Ruby, perhaps > > it would make sense to have TrueClass and FalseClass both derive > > from a common base class, say, BooleanClass. > > Hi, > > Actually I am wondering the same thing. There was a recent similar > question > > http://www.ruby-talk.org/53560 > > but there was no response to it. Just the fact that it is asked again and > again probably warrants a full, logical, satisfying answer. > > Regards, > > Bill Everyone asks it at some point. I did once, and it was answered. I can't remember the answer, but it satisfied me. I reckon you should dig up the answer and put it in the "Things newcomers should know" list. It would be good fodder for the FAQ, too. Gavin PS. I think the answer had something to do with them being constant values.