Skip to content

Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →

class method

ObjectSpace.internal_super_of

(untyped) -> untyped
ObjectSpace.internal_super_of(cls) → Class or Module
MRI specific feature

Return internal super class of cls (Class or Module).

obj can be an instance of InternalObjectWrapper.

Note that you should not use this method in your application.