aboutsummaryrefslogtreecommitdiffstats
path: root/lib/csv.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/csv.rb')
-rw-r--r--lib/csv.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/csv.rb b/lib/csv.rb
index 2326792cd7..16a38a17cf 100644
--- a/lib/csv.rb
+++ b/lib/csv.rb
@@ -2168,6 +2168,7 @@ class CSV
fields.map.with_index do |field, index|
converters.each do |converter|
+ break if field.nil?
field = if converter.arity == 1 # straight field converter
converter[field]
else # FieldInfo converter