lib/smilodon.rb in smilodon-0.2.3 vs lib/smilodon.rb in smilodon-0.2.4

- old
+ new

@@ -65,11 +65,13 @@ # @usage # populates 'TestFile', :before => :inactivate send(before) if before rows = parser.parse(read(f)) - rows.shift if header - rows.count.times { process(rows.shift) } + rows.count.times do |index| + row = rows.shift + process(row) unless index == 0 && header + end end # Return true when all rows are processed. true end