Class

The class of classes. More accurately speaking, each class has its own unnamed "metaclass", and Class is the class of these metaclasses. This relationship is a little complicated, but it is not especially important to keep in mind while using Ruby.

Compared to modules, classes

Otherwise, nearly all of its capabilities are inherited from Module.

Superclass

Method

new( ... )

Creates a class instance and returns it. This method's arguments, including block arguments, are passed to initialize.

Converted from CHM to HTML with chm2web Pro 2.85 (unicode)