53 54 55
# File 'lib/babbage/array.rb', line 53 def self.sum(array) array.inject(0) {|sum,value| sum + value} end