Forum: Ruby Usefulness of the Kernel module ??

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
525480ed148ff5095506aa1ef745fd33?d=identicon&s=25 Ruby Admirer (Guest)
on 2007-03-10 11:00
(Received via mailing list)
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 topic is locked and can not be replied to.