Hi guys.

There are certain common methods that originate from module Kernel, but
they're documented in class Object.

E.g.

> o = Object.new
> => #<Object:0xb76826c8>
> o.method :send
> => #<Method: Object(Kernel)#send>

method's #inspect clearly shows that #send originates from Kernel, but:

$ ri Kernel#send
Nothing known about Kernel#send
$ ri Object#send
(ri page on #send)

Why this kind of confusion? Why not making methods like #send, #kind_of?
and a bunch of others *ACTUALLY* belong to Object, thus making
method.inspect() more accurate in terms of pointing to the proper place
in the documentation?
-- 
Posted via http://www.ruby-forum.com/.