On Sat, Jan 21, 2012 at 9:03 PM, John Merlino wrote:
> "Object is the root of Ruby's class hierarchy. Its methods are
> available to all classes unless explicitly overridden."
>
> Wouldn't Class class be at the root of the class hierarchy?
>
>
> After all, look at this:
>
> 1.9.2p290 :006 > Objec
"Object is the root of Ruby's class hierarchy. Its methods are
available to all classes unless explicitly overridden."
Wouldn't Class class be at the root of the class hierarchy?
After all, look at this:
1.9.2p290 :006 > Object.instance_of? Class
=> true
Object is an instance of class, after
2 matches
Mail list logo