From: matz@... Date: 2020-09-25T06:07:14+00:00 Subject: [ruby-core:100124] [Ruby master Feature#14394] Class.descendants Issue #14394 has been updated by matz (Yukihiro Matsumoto). Status changed from Open to Feedback Accepted. Although on some implementation, `#descendants` can be slow since it may be implemented by scanning whole object heaps (as ActiveSupport currently does). Matz. ---------------------------------------- Feature #14394: Class.descendants https://bugs.ruby-lang.org/issues/14394#change-87692 * Author: ridiculous (Ryan Buckley) * Status: Feedback * 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: