Class Irmo::Class |
|
Methods |
Public Instance methods |
name(VALUE self) |
Get the name of a class
to_s(VALUE self) |
Get the name of a class
size(VALUE self) |
Get the number of variables in the class
get_argument(VALUE self, VALUE varname) |
Get a particular variable in a class
# Get the variable named 'foo' foo = myclass['foo']
[](VALUE self, VALUE varname) |
Get a particular variable in a class
# Get the variable named 'foo' foo = myclass['foo']
each_variable(VALUE self) |
Iterate over variables in a class
myclass.each { |var| ... }
each(VALUE self) |
Iterate over variables in a class
myclass.each { |var| ... }
parent_class(VALUE self) |
Get the parent class, if this is a subclass of another class