rb_obj_class

Function rb_obj_class 

Source
pub unsafe extern "C" fn rb_obj_class(obj: VALUE) -> VALUE
Expand description

Queries the class of an object. This is not always identical to RBASIC_CLASS(obj). It searches for the nearest ancestor skipping singleton classes or included modules.

§@param[in] obj Object in question. @return The object’s class, in a normal sense.

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