John-Li/my_programs — comment on commit d1dd3ed38d418d7121385075538c2a7edbd69220
File: book/arrays/1_dimentional/task-5.rb line 10
By gmile:

Alright!

Now, accomplish the same without even having `sum` variable at all. (protip: Array's method list will help you but... is that a complete list of methods that Array has?)