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.

-- 
Posted via http://www.ruby-forum.com/.