getRubyClass: Find the RubyClass object by name

Description Usage Arguments Value Author(s) References See Also

View source: R/classes.R

Description

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.

Usage

1

Arguments

name

a character string giving the name of the Ruby class of interest.

Value

An object of class RubyClass-class.

Author(s)

Duncan Temple Lang

References

The rb_path2class C routine in the Ruby C-level API

See Also

.Ruby


omegahat/RRuby documentation built on May 24, 2019, 1:55 p.m.