1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54568 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2016-04-14 00:00:32 +00:00
parent 8574a372a0
commit 350a740058

View file

@ -5662,6 +5662,7 @@ rb_ary_dig(int argc, VALUE *argv, VALUE self)
* [].sum #=> 0
* [1, 2, 3].sum #=> 6
* [3, 5.5].sum #=> 8.5
* [Object.new].sum #=> TypeError
*
* This method may not respect method redefinition of "+" methods
* such as Fixnum#+.