diff options
author | mrkn <mrkn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-04-15 14:46:35 +0000 |
---|---|---|
committer | mrkn <mrkn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-04-15 14:46:35 +0000 |
commit | 0a267b79f62aac02628b02d27c716cfa8c2d67dc (patch) | |
tree | 0f12bf0c96edf7e7902fd5c8cf3b9dbbf1edcda6 /nacl/pepper_main.c | |
parent | a945eb9ddab99357a9f831c5dae99f33f223ac71 (diff) | |
download | ruby-0a267b79f62aac02628b02d27c716cfa8c2d67dc.tar.gz |
array.c (rb_ary_sum): use rb_rational_add directly
* rational.c (rb_rational_add): rename from nurat_add.
* array.c (rb_ary_sum): use rb_rational_add directly.
* test/ruby/test_array.rb (test_sum): add assertions for an array of
Rational values.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54602 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'nacl/pepper_main.c')
0 files changed, 0 insertions, 0 deletions