Class Class (version 0.18)

Description: The interface to the declarations of classes and methods

Class overview

Index

Method Overview

[static] yield const ref Class each_classIterate over all classes
[const] yield ref Method each_methodIterate over all methods of this class
[const] string nameThe name of the class
[const] bool can_copyTrue if the class offers assignment
[const] string docThe documentation string for this class
destroyExplicitly destroy the object
[const] bool destroyedTell, if the object was destroyed

[const] bool can_copy

Description: True if the class offers assignment

destroy

Description: Explicitly destroy the object

Explicitly destroy the object on C++ side if it was owned by the Ruby interpreter. Subsequent access to this object will throw an exception. If the object is not owned by Ruby, this method will do nothing.

[const] bool destroyed

Description: Tell, if the object was destroyed

This method returns true, if the object was destroyed, either explicitly or by the C++ side. The latter may happen, if the object is owned by a C++ object which got destroyed itself.

[const] string doc

Description: The documentation string for this class

[static] yield const ref Class each_class

Description: Iterate over all classes

[const] yield ref Method each_method

Description: Iterate over all methods of this class

[const] string name

Description: The name of the class