From: "byroot (Jean Boussier)" Date: 2021-12-21T11:02:28+00:00 Subject: [ruby-core:106756] [Ruby master Feature#14394] Class.descendants Issue #14394 has been updated by byroot (Jean Boussier). Rails fixed in https://github.com/rails/rails/pull/43951, I'll see if we can get a 7.0.1 release before 3.1.0 is out. ---------------------------------------- Feature #14394: Class.descendants https://bugs.ruby-lang.org/issues/14394#change-95460 * Author: ridiculous (Ryan Buckley) * Status: Open * Priority: Normal * Assignee: ko1 (Koichi Sasada) ---------------------------------------- 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? -- https://bugs.ruby-lang.org/ Unsubscribe: