Represent a financial array. Investment/Time/Installments…TODO…
342 343 344
# File 'lib/money/money.rb', line 342 def sum Money.new(inject(0){ |sum,m| sum + m.cents }) end
338 339 340
# File 'lib/money/money.rb', line 338 def to_s map &:to_s end