method
remove_subclasses
v2.2.1 -
Show latest stable
- Class:
Class
remove_subclasses()public
Unassociates the class with its subclasses and removes the subclasses themselves.
Integer.remove_subclasses # => [Bignum, Fixnum] Fixnum # => NameError: uninitialized constant Fixnum