From: William Djaja Tjokroaminata Date: 2002-04-13T00:57:59+09:00 Subject: Re: Why Object#class Is Inconsistent in "==" and "case"? But in this case we are calling "Object#===" and not "Kernel#===" or "Module#===", aren't we? In the "Programming Ruby" book there is no documentation on "Kernel#===". Even on "Module#===", the format is mod === anObject # calls Module#===, I think and not anObject === mod # calls Object#===, I think Regards, Bill ========================================================================== ts wrote: > Well, it's not wrong : the === operator is overriden at C level > Basically Kernel#=== is an alias for Kernel#== > Some classes redefine #===, for example Module, Range, Regexp > Guy Decoux