pub unsafe extern "C" fn rb_obj_singleton_methods(
argc: c_int,
argv: *const VALUE,
obj: VALUE,
) -> VALUEExpand description
Identical to rb_class_instance_methods, except it returns names of
singleton methods instead of instance methods.
ยง@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] obj Arbitrary ruby object.
@exception rb_eArgError argc out of range.
@return An array of symbols collecting names of instance methods that
are not private, defined at the singleton class of obj.
Generated by rb-sys for Ruby mri-x86_64-linux-gnu-3.2.3