Function rb_class_instance_methods

Source
pub unsafe extern "C" fn rb_class_instance_methods(
    argc: c_int,
    argv: *const VALUE,
    mod_: VALUE,
) -> VALUE
Expand description

Generates an array of symbols, which are the list of method names defined in the passed class.

ยง@param[in] argc Number of objects of argv. @param[in] argv Array of at most one object, which controls (if any) whether the return array includes the names of methods defined in ancestors or not. @param[in] mod A module or a class. @exception rb_eArgError argc out of range. @return An array of symbols collecting names of instance methods that are not private, defined at mod.

Generated by rb-sys for Ruby mri-x86_64-linux-gnu-3.2.3