lib/efo_nelfo/reader/csv.rb in efo_nelfo-0.0.7 vs lib/efo_nelfo/reader/csv.rb in efo_nelfo-1.0.0

- old
+ new

@@ -31,10 +31,10 @@ head.source = @data # Read rest of the file and add them to the head csv.each do |row| # Find the correct posttype module for given posttype and version - klass = EfoNelfo::PostType.for row[0] + klass = EfoNelfo::PostType.for row[0], head.version next if klass.nil? line = initialize_object_with_properties klass, row head.add line end