Project

General

Profile

Actions

Feature #14394

closed

Class.descendants

Feature #14394: Class.descendants

Added by ridiculous (Ryan Buckley) over 8 years ago. Updated 8 days ago.

Status:
Closed
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?


Related issues 3 (0 open3 closed)

Related to Ruby - Feature #9779: Add Module#descendantsClosedActions
Related to Ruby - Feature #18273: Class#subclassesClosedActions
Related to Ruby - Bug #18282: Rails CI raises Segmentation fault with ruby 3.1.0dev supporting `Class#descendants`ClosedActions
Actions

Also available in: PDF Atom