aboutsummaryrefslogtreecommitdiffstats
path: root/NEWS
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-01-25 03:04:10 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-01-25 03:04:10 +0000
commitaa436bdca6068a3e94dbc0a4a46a242a56355e2c (patch)
tree80ec96be355c21b0dfd25c213744eb1276826af5 /NEWS
parent7d87d0c466bc742b5776f2306637a73894c402ef (diff)
downloadruby-aa436bdca6068a3e94dbc0a4a46a242a56355e2c.tar.gz
array.c: reduce to_ary call
* array.c (flatten): no need to call to_ary method on elements beyond the given level. [ruby-core:67637] [Bug #10748] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49400 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 6d034b3dc1..13185d19c0 100644
--- a/NEWS
+++ b/NEWS
@@ -22,6 +22,9 @@ with all sufficient information, see the ChangeLog file.
no longer changes the receiver array instantly every time the
block is called. [Feature #10714]
+ * Array#flatten and Array#flatten! no longer try to call #to_ary
+ method on elements beyond the given level. [Bug #10748]
+
* IO
* IO#close doesn't raise when the IO object is closed. [Feature #10718]