I’m just thinking about the usefulness of the Kernel module which is
included in the class Object.
Why not defining directly all methods of this Kernel module in the
Object class ??
I don’t expect that an instance or a class will include this module as
it is already included.
Likewise, I don’t expect that a Ruby 1.9 BasicObject will include the
So the Kernel module exists only for being included by Object !
Furthermore, all documentations I read indicate that for clarity,
methods from Kernel will be described within Object !!
Has anyone already propose to merge the Kernel module within Object ??
Thanks for any clarification.