class Array

Public Instance Methods

# File _plugins/jekyll-topic-filter.rb, line 10
def cumulative_sum
  sum = 0
  self.map{|x| sum += x}
end