subclasses()
Instance Public methods
Returns an array with the direct children of self
.
1 2 3 4 5 6 7 | Integer .subclasses # => [Fixnum, Bignum] class Foo; end class Bar < Foo; end class Baz < Bar; end Foo.subclasses # => [Bar] |
Please login to continue.