Good candidate for a [reduce](http://ruby-doc.org/core-2.1.2/Enumerable.html#method-i-reduce)?