rb_class_subclasses

Function rb_class_subclasses 

Source
pub unsafe extern "C" fn rb_class_subclasses(klass: VALUE) -> VALUE
Expand description

Queries the class’s direct descendants. This routine gathers classes that are direct subclasses of the given class, returning an array of classes that have the given class as a superclass. The returned array does not include singleton classes.

@param[in] klass A class. @return An array of classes where klass is the superclass.

§@internal

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