Project

General

Profile

Actions

Feature #14394

open

Class.descendants

Added by ridiculous (Ryan Buckley) about 3 years ago. Updated 2 months ago.

Status:
Assigned
Priority:
Normal
Target version:
-
[ruby-core:85073]

Description

There have been numerous implementations of the method Class.descendants by various gems. However, I can't help but think that this ability should be included in the Ruby language itself. Especially since Ruby already offers the counterpart method Class.ancestors.

Would it possible to add a descendants class method?

Actions

Also available in: Atom PDF