diff options
author | Jeremy Evans <code@jeremyevans.net> | 2020-11-03 14:06:11 -0800 |
---|---|---|
committer | Jeremy Evans <code@jeremyevans.net> | 2020-11-03 14:09:20 -0800 |
commit | bf1047c7570a7544c39ebc819715e2810dd2c1c3 (patch) | |
tree | cfb231540d3359ba39889e105d0cf5178996623d | |
parent | 2a294d499bf03211d02695f613f784a05943ea35 (diff) | |
download | ruby-bf1047c7570a7544c39ebc819715e2810dd2c1c3.tar.gz |
Update NEWS for Array methods change
-rw-r--r-- | NEWS.md | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -109,6 +109,24 @@ option shows the help message via the pager designated by the value. Outstanding ones only. +* Array + + * Modified methods + + * The following methods now return Array instances instead of + subclass instances when called on subclass instances: + [[Bug #6087]] + + * `Array#drop` + * `Array#drop_while` + * `Array#flatten` + * `Array#slice!` + * `Array#slice/#[]` + * `Array#take` + * `Array#take_while` + * `Array#uniq` + * `Array#*` + * Dir * Modified method @@ -498,6 +516,7 @@ end [Bug #4352]: https://bugs.ruby-lang.org/issues/4352 +[Bug #6087]: https://bugs.ruby-lang.org/issues/6087 [Bug #8382]: https://bugs.ruby-lang.org/issues/8382 [Bug #8446]: https://bugs.ruby-lang.org/issues/8446 [Feature #8661]: https://bugs.ruby-lang.org/issues/8661 |