[#106355] [Ruby master Bug#18373] RBS build failure: '/include/x86_64-linux/ruby/config.h', needed by 'constants.o'. — "vo.x (Vit Ondruch)" <noreply@...>
Issue #18373 has been reported by vo.x (Vit Ondruch).
28 messages
2021/12/01
[ruby-core:106739] [Ruby master Feature#14394] Class.descendants
From:
"matz (Yukihiro Matsumoto)" <noreply@...>
Date:
2021-12-20 02:39:29 UTC
List:
ruby-core #106739
Issue #14394 has been updated by matz (Yukihiro Matsumoto). `Module#descendants` has been proposed too in #9779. In addition, upon the existence of newly introduced `Class#subclasses`, the need for `Class#descendants` is decreased. Considering those facts, let up postpone introducing `Class#descendats` for 3.1. I feel we need more discussion. Sorry for the last-minute change. Matz. ---------------------------------------- Feature #14394: Class.descendants https://bugs.ruby-lang.org/issues/14394#change-95432 * Author: ridiculous (Ryan Buckley) * Status: Closed * 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: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe> <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>