prev - up - next - index

Class

The class of the classes. To tell the truth, each class have the unnamed class (which is the meta-class of the class), the class Class is the class of these meta-classes. It is complicated, but it is not important for using Ruby.

SuperClass:

Module

Methods:

attr(name[, public])

Defines new attribute and its access method. See Module#attr.

new(...)

Creates an instance of the class. This arguments to this method will pass to the initialize.

method_defined?(id)

Returns true, if the instance of the Class has the method specified by the id.

superclass

Returns the superclass of the class.


prev - up - next - index

matz@caelum.co.jp