method

sum

Importance_1
v6.1.7.7 - Show latest stable - 0 notes - Class: Array
sum(init = nil, &block) public

Array#sum was added in Ruby 2.4 but it only works with Numeric elements.

Show source
Register or log in to add new notes.