instance method
ObjectSpace::InternalObjectWrapper#type
type
ext/objspace/objspace.c
View on GitHub ↗
static VALUE
iow_type(VALUE self)
{
VALUE obj = (VALUE)DATA_PTR(self);
return type2sym(BUILTIN_TYPE(obj));
}
Returns the type of the internal object.