diff options
author | mrkn <mrkn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-05-17 13:58:46 +0000 |
---|---|---|
committer | mrkn <mrkn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-05-17 13:58:46 +0000 |
commit | eb4208cf38c45d9e1ea00b072e65313d803cd816 (patch) | |
tree | 7fca575e53a48e43b015df51e43e8fb8e26f6a62 /COPYING.ja | |
parent | 46e13b876cf8840ea1a030e9779944e677605ead (diff) | |
download | ruby-eb4208cf38c45d9e1ea00b072e65313d803cd816.tar.gz |
Implement Enumerable#sum
* enum.c (enum_sum): Implement Enumerable#sum.
* test/ruby/test_enum.rb (test_sum): Test sum for Enumerable.
* test/ruby/test_hash.rb (test_sum): Test sum for Hash.
* test/ruby/test_range.rb (test_sum): Test sum for Range.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55032 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'COPYING.ja')
0 files changed, 0 insertions, 0 deletions