method
subclasses_of
v2.3.8 -
Show latest stable
- Class:
Object
subclasses_of(*superclasses)public
Exclude this class unless it’s a subclass of our supers and is defined. We check defined? in case we find a removed class that has yet to be garbage collected. This also fails for anonymous classes — please submit a patch if you have a workaround.