From: ts Date: 2008-05-18T01:51:02+09:00 Subject: Re: Object#select and method_missing 7stud -- wrote: > I tried to model how Object mixes in Kernel and thereby recreate what > the op's results were. Is that not the way it works? In the example given, #select is a global function this mean * a private method of Kernel * a singleton method of Kernel This is to give the possibility to *all* objects to access these methods When it's called 'self.select', ruby find the private method but because a receiver is specified (it's called like a public method), it call #method_missing (this was not the right method). When it's called 'select', it find the same method and it call it because it was called without a receiver Guy Decoux