aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormrkn <mrkn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-05-18 03:21:53 +0000
committermrkn <mrkn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-05-18 03:21:53 +0000
commitdd644f3c01bb4a8003d70f352793b78574697d88 (patch)
treeb2147f3f6f6fd107a86cdfa94fbffcedb482fd3f
parent50272acc2c54875517e79e30eb664f8ddf200b30 (diff)
downloadruby-dd644f3c01bb4a8003d70f352793b78574697d88.tar.gz
Describe Enumerable#sum in NEWS [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55049 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--NEWS8
1 files changed, 7 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 4ca91819c8..0d1d7820e6 100644
--- a/NEWS
+++ b/NEWS
@@ -27,11 +27,17 @@ with all sufficient information, see the ChangeLog file or Redmine
now ignored. You should also redefine Array#max.
* Array#sum [Feature #12217]
+ This is different from Enumerable#sum in that Array#sum doesn't depend on
+ the definition of each method.
* Dir
* Dir.empty?. [Feature #10121]
+* Enumerable
+
+ * Enumerable#sum [Feature #12217]
+
* File
* File.empty?. [Feature #9969]
@@ -79,7 +85,7 @@ with all sufficient information, see the ChangeLog file or Redmine
=== Compatibility issues (excluding feature bug fixes)
-* Array#sum is implemented. [Feature #12217]
+* Array#sum and Enumerable#sum are implemented. [Feature #12217]
Ruby itself has no compatibility problem because Ruby didn't have sum method
for arrays before Ruby 2.4.
However many third party gems, activesupport, facets, simple_stats, etc,