It would be more correct to say that Object includes the Kernel module.
see http://ruby-doc.org/core-1.9.3/Object.html
Dheeraj Kumar
On Thursday 27 September 2012 at 6:10 AM, John Merlino wrote:
> inheritance chain:
>
> Class -> Module -> Object
>
> Kernel.is_a?(Module) # => true
>
> Kernel is an instance of Module, which in turn inherits from Object.
>
> So how is Kernel an ancestor of Object?
>
> I found it on line 262 of "The Ruby Programming Language":
>
> "The Kernel module is an ancestor of Object."
>
> --
> You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
> To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
(mailto:rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org).
> To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
(mailto:rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org).
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.