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

- old
+ new

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