summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Evans <code@jeremyevans.net>2020-11-03 14:06:11 -0800
committerJeremy Evans <code@jeremyevans.net>2020-11-03 14:09:20 -0800
commitbf1047c7570a7544c39ebc819715e2810dd2c1c3 (patch)
treecfb231540d3359ba39889e105d0cf5178996623d
parent2a294d499bf03211d02695f613f784a05943ea35 (diff)
downloadruby-bf1047c7570a7544c39ebc819715e2810dd2c1c3.tar.gz
Update NEWS for Array methods change
-rw-r--r--NEWS.md19
1 files changed, 19 insertions, 0 deletions
diff --git a/NEWS.md b/NEWS.md
index 495a633102..e10300ce40 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -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