Usefulness of the Kernel module?

Hi all,

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
Kernel module.

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.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs