method

sum

Importance_1
v6.1.3.1 - 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.