Description Usage Arguments Value Author(s) References See Also
This function resolves the Ruby class corresponding to the specified class name. We can use this, or an instance of the class, to perform reflection and find out about methods and slots/fields.
1 |
name |
a character string giving the name of the Ruby class of interest. |
An object of class RubyClass-class
.
Duncan Temple Lang
The rb_path2class
C routine in the Ruby C-level API
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.