mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Describe Enumerable#sum in NEWS [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55049 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
01801f2afd
commit
3d42a665d8
1 changed files with 7 additions and 1 deletions
8
NEWS
8
NEWS
|
@ -27,11 +27,17 @@ with all sufficient information, see the ChangeLog file or Redmine
|
||||||
now ignored. You should also redefine Array#max.
|
now ignored. You should also redefine Array#max.
|
||||||
|
|
||||||
* Array#sum [Feature #12217]
|
* 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
|
||||||
|
|
||||||
* Dir.empty?. [Feature #10121]
|
* Dir.empty?. [Feature #10121]
|
||||||
|
|
||||||
|
* Enumerable
|
||||||
|
|
||||||
|
* Enumerable#sum [Feature #12217]
|
||||||
|
|
||||||
* File
|
* File
|
||||||
|
|
||||||
* File.empty?. [Feature #9969]
|
* File.empty?. [Feature #9969]
|
||||||
|
@ -79,7 +85,7 @@ with all sufficient information, see the ChangeLog file or Redmine
|
||||||
|
|
||||||
=== Compatibility issues (excluding feature bug fixes)
|
=== 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
|
Ruby itself has no compatibility problem because Ruby didn't have sum method
|
||||||
for arrays before Ruby 2.4.
|
for arrays before Ruby 2.4.
|
||||||
However many third party gems, activesupport, facets, simple_stats, etc,
|
However many third party gems, activesupport, facets, simple_stats, etc,
|
||||||
|
|
Loading…
Reference in a new issue