Skip to content

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

class method

ObjectSpace.internal_class_of

(untyped) -> ::Class
ObjectSpace.internal_class_of(obj) → Class or Module
MRI specific feature

Return internal class of obj.

obj can be an instance of InternalObjectWrapper.

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