subclasses()
public
Returns an array with the direct children of self.
class Foo; end class Bar < Foo; end class Baz < Bar; end Foo.subclasses # => [Bar]
subclasses()
public
Returns an array with the direct children of self.
class Foo; end class Bar < Foo; end class Baz < Bar; end Foo.subclasses # => [Bar]