lib/peddler/flat_file_parser.rb in peddler-0.17.1 vs lib/peddler/flat_file_parser.rb in peddler-0.18.0

- old
+ new

@@ -14,11 +14,11 @@ super(res) @encoding = encoding extract_content end - def parse - CSV.parse(scrub_content, OPTIONS) if content + def parse(&blk) + CSV.parse(scrub_content, OPTIONS, &blk) if content end def records_count summarize if summary? end