From: ts Date: 2002-04-13T01:06:20+09:00 Subject: Re: Why Object#class Is Inconsistent in "==" and "case"? >>>>> "W" == William Djaja Tjokroaminata writes: W> But in this case we are calling "Object#===" and not "Kernel#===" or W> "Module#===", aren't we? No, when you write case a when b end ruby call b.===(a) This mean that in this case it call Module#=== W> In the "Programming Ruby" book there is no documentation on W> "Kernel#===". Kernel is a module which is included in Object (see p. 356) "Object mixes in the Kernel module, making the built-in kernel functions globally accessible. Although the instance methods of Object are defined by the Kernel module, we have chosen to document them here for clarity." Guy Decoux