Merge branch 'master' into updated-gems

This commit is contained in:
wvengen 2013-07-16 00:00:55 +02:00
commit 9fb6597980
38 changed files with 352 additions and 223 deletions

View file

@ -9,4 +9,11 @@ class String
string
end
end
end
end
class Array
def cumulative_sum
csum = 0
self.map{|val| csum += val}
end
end