method
subclasses
v2.3.8 -
Show latest stable
- Class:
Class
subclasses()public
Returns an array with the names of the subclasses of self as strings.
Integer.subclasses # => ["Bignum", "Fixnum"]
subclasses()Returns an array with the names of the subclasses of self as strings.
Integer.subclasses # => ["Bignum", "Fixnum"]