lib/docparser/output/multi_output.rb in docparser-0.2.2 vs lib/docparser/output/multi_output.rb in docparser-0.2.3
- old
+ new
@@ -28,13 +28,13 @@
def add_row(row)
@outputs.each { |out| out.add_row row }
end
def rowcount
- @outputs.map { |out| out.rowcount }.min
+ @outputs.map(&:rowcount).min
end
def close
- @outputs.each { |out| out.close }
+ @outputs.each(&:close)
end
end
end