From: Ryan Davis Date: 2013-01-18T06:53:13+09:00 Subject: Re: Where is the methods method defined ? On Jan 15, 2013, at 04:36 , David Unric wrote: > Hans Mackowiak wrote in post #1092344: >> you are currently asking for the method of the class BasicObject. >> >> BasicObject.singleton_class.ancestors >> => [Class, Module, Object, Kernel, BasicObject] > > Ok, that would explain 'methods' method really comes from Kernel but > what about its definition ? For example at > http://www.ruby-doc.org/core-1.9.3/Kernel.html is not listed between > Kernel class methods. It is probably just a bit confused because the method definition is located in class.c, not object.c. I dunno tho.