method
subclasses
v2.1.0 -
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"]