Flowdock
method

sum

Importance_1
Ruby on Rails latest stable (v4.0.2) - 0 notes - Class: Range
sum(identity = 0) public

Optimize range sum to use arithmetic progression if a block is not given and we have a range of numeric values.

Show source
Register or log in to add new notes.