lib/review/book/volume.rb in review-4.2.0 vs lib/review/book/volume.rb in review-5.0.0

- old
+ new

@@ -20,10 +20,10 @@ end new(b, c, l) end def self.sum(vols) - vols.inject(new) { |sum, i| sum + i } + vols.inject(new) { |sum, i| sum + i } # rubocop:disable Performance/Sum end def self.dummy new(-1, -1, -1) end