[ruby-core:99763] [Ruby master Feature#14394] Class.descendants
From:
fatkodima123@...
Date:
2020-08-28 23:07:34 UTC
List:
ruby-core #99763
Issue #14394 has been updated by fatkodima (Dima Fatko). I opened a PR - https://github.com/ruby/ruby/pull/3471 ---------------------------------------- Feature #14394: Class.descendants https://bugs.ruby-lang.org/issues/14394#change-87272 * Author: ridiculous (Ryan Buckley) * Status: Open * Priority: Normal ---------------------------------------- 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: <mailto:[email protected]?subject=unsubscribe> <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>