diff options
author | Jeremy Evans <code@jeremyevans.net> | 2021-12-20 08:26:14 -0800 |
---|---|---|
committer | Jeremy Evans <code@jeremyevans.net> | 2021-12-20 11:02:15 -0800 |
commit | 3bd5f27f737c7d365b7d01c43d77a958c224ab16 (patch) | |
tree | 2e3933d29fc01a17999c3664969017df77a998a0 /NEWS.md | |
parent | c57ac4c6e0acf9b4c1fbb3092eefc89873c5d249 (diff) |
Remove Class#descendants
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/5309
Diffstat (limited to 'NEWS.md')
-rw-r--r-- | NEWS.md | 15 |
1 files changed, 0 insertions, 15 deletions
@@ -126,20 +126,6 @@ Note: We're only listing outstanding class updates. * Class - * Class#descendants, which returns an array of classes - directly or indirectly inheriting from the receiver, not - including the receiver or singleton classes. - [[Feature #14394]] - - ```ruby - class A; end - class B < A; end - class C < B; end - A.descendants #=> [B, C] - B.descendants #=> [C] - C.descendants #=> [] - ``` - * Class#subclasses, which returns an array of classes directly inheriting from the receiver, not including singleton classes. @@ -555,7 +541,6 @@ See [the repository](https://github.com/ruby/error_highlight) in detail. [Feature #12495]: https://bugs.ruby-lang.org/issues/12495 [Feature #12913]: https://bugs.ruby-lang.org/issues/12913 [Feature #14256]: https://bugs.ruby-lang.org/issues/14256 -[Feature #14394]: https://bugs.ruby-lang.org/issues/14394 [Feature #14579]: https://bugs.ruby-lang.org/issues/14579 [Feature #15198]: https://bugs.ruby-lang.org/issues/15198 [Feature #15211]: https://bugs.ruby-lang.org/issues/15211 |