summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--NEWS6
1 files changed, 6 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 35180a00a4..68266322f6 100644
--- a/NEWS
+++ b/NEWS
@@ -43,6 +43,9 @@ with all sufficient information, see the ChangeLog file.
Return an enumerator if no block is given.
+ Note that #map and #collect still return an array unlike Ruby 1.9
+ to keep compatibility.
+
* Array#pop
* Array#shift
@@ -108,6 +111,9 @@ with all sufficient information, see the ChangeLog file.
Return an enumerator if no block is given.
+ Note that #map and #collect still return an array unlike Ruby 1.9
+ to keep compatibility.
+
* Enumerable#inject
Accepts a binary operator instead of a block.