method

subclasses

v3.2.13 - Show latest stable - Class: Class
subclasses()
public

Returns an array with the direct children of self.

Integer.subclasses # => [Bignum, Fixnum]