"Mark Hubbart" <discord / mac.com> schrieb im Newsbeitrag
news:436A6DB6-EA23-11D8-B619-000A95D2DFAE / mac.com...

> Class is a template for creating objects. Object is a subclass of
> class.

Not quite:

>> Class.ancestors
=> [Class, Module, Object, Kernel]
>> Object.class
=> Class

Class is a sub class of Object, while Object is an instance of Class!

> This is a fairly common OO topic, and there is a pretty good
> description of classes and objects here:
>
> http://www.visibleworkings.com/little-ruby/Chapter3.pdf

Kind regards

    robert