lib/review/book/volume.rb in review-5.3.0 vs lib/review/book/volume.rb in review-5.4.0

- old
+ new

@@ -10,10 +10,10 @@ module Book class Volume def self.count_file(path) b = c = l = 0 File.foreach(path) do |line| - next if /\A\#@/ =~ line + next if /\A\#@/.match?(line) text = line.gsub(/\s+/, '') b += text.bytesize c += text.size l += 1