Node:Class Options, Next:Slot Options, Previous:Basic Class Definition, Up:Defining New Classes
#:metaclass metaclass | class option |
The #:metaclass class option specifies the metaclass of the class
being defined. metaclass must be a class that inherits from
<class> . For an introduction to the use of metaclasses, see
Metaobjects and the Metaobject Protocol and Metaclass.
If the |
#:name name | class option |
The #:name class option specifies the new class's name. This
name is used to identify the class whenever related objects - the class
itself, its instances and its subclasses - are printed.
If the |
#:environment environment | class option |
*fixme* Not sure about this one, but I think that the
#:environment option specifies the environment in which the
class's getters and setters are computed and evaluated.
If the |