sum = 0
self.items.each { |item| sum += item.fragments.count }
      
...

Ruby Calculate sum of items in a...

by FRKT, August 16, 2010 08:12, 4 refactorings, tagged with array hash

I'm pretty sure I'm not doi...

28e9d19f948f2367b2da007e7ad858fd Talk