From: Ryan Davis Date: 2012-09-18T16:05:17+09:00 Subject: Re: how to sum element of array On Sep 17, 2012, at 22:19 , 7stud -- wrote: > Padma J. wrote in post #1076389: >> >> >> array.inject(0) { |sum, i| sum+i } >> >> Cheers. > > You think i is a good, descriptive variable name there? Q: Does it REALLY matter? A: No... no, it does not.