HEX
Server: Apache
System: Windows NT MAGNETO-ARM 10.0 build 22000 (Windows 10) AMD64
User: Michel (0)
PHP: 7.4.7
Disabled: NONE
Upload Files
File: C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/csv-3.1.9/doc/csv/options/parsing/nil_value.rdoc
====== Option +nil_value+

Specifies the object that is to be substituted for each null (no-text) field.

Default value:
  CSV::DEFAULT_OPTIONS.fetch(:nil_value) # => nil

With the default, +nil+:
  CSV.parse_line('a,,b,,c') # => ["a", nil, "b", nil, "c"]

With a different object:
  CSV.parse_line('a,,b,,c', nil_value: 0) # => ["a", 0, "b", 0, "c"]