lib/picky/sources/csv.rb in picky-2.1.2 vs lib/picky/sources/csv.rb in picky-2.2.0

- old
+ new

@@ -56,10 +56,10 @@ raise NoCSVFileGiven.new(category_names.join(', ')) end # Harvests the data to index. # - def harvest _, category + def harvest category index = category_names.index category.from get_data do |ary| indexed_id = ary.shift text = ary[index] next unless text \ No newline at end of file