Sha256: 072b7d81b6daa85ed78bfb9bef91998e1c92b0adeb57a2c4bfbc7f7f016d4ea0

Contents?: true

Size: 400 Bytes

Versions: 20

Compression:

Stored size: 400 Bytes

Contents

====== Option +empty_value+

Specifies the object that is to be substituted
for each field that has an empty \String.

Default value:
  CSV::DEFAULT_OPTIONS.fetch(:empty_value) # => "" (empty string)

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

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

Version data entries

20 entries across 20 versions & 4 rubygems

Version Path
fluent-plugin-nuopenlineage-light-0.1.0 vendor/bundle/ruby/3.3.0/gems/csv-3.3.0/doc/csv/options/parsing/empty_value.rdoc
fluent-plugin-openlineage-light-0.1.4 vendor/bundle/ruby/3.3.0/gems/csv-3.3.0/doc/csv/options/parsing/empty_value.rdoc
fluent-plugin-openlineage-light-0.1.3 vendor/bundle/ruby/3.3.0/gems/csv-3.3.0/doc/csv/options/parsing/empty_value.rdoc
fluent-plugin-openlineage-0.1.0 vendor/bundle/ruby/3.3.0/gems/csv-3.3.0/doc/csv/options/parsing/empty_value.rdoc
csv-3.3.0 doc/csv/options/parsing/empty_value.rdoc
csv-3.2.9 doc/csv/options/parsing/empty_value.rdoc
csv-3.2.8 doc/csv/options/parsing/empty_value.rdoc
csv-3.2.7 doc/csv/options/parsing/empty_value.rdoc
csv-3.2.6 doc/csv/options/parsing/empty_value.rdoc
csv-3.2.5 doc/csv/options/parsing/empty_value.rdoc
csv-3.2.4 doc/csv/options/parsing/empty_value.rdoc
csv-3.2.3 doc/csv/options/parsing/empty_value.rdoc
csv-3.2.2 doc/csv/options/parsing/empty_value.rdoc
csv-3.2.1 doc/csv/options/parsing/empty_value.rdoc
csv-3.2.0 doc/csv/options/parsing/empty_value.rdoc
csv-3.1.9 doc/csv/options/parsing/empty_value.rdoc
csv-3.1.8 doc/csv/options/parsing/empty_value.rdoc
csv-3.1.7 doc/csv/options/parsing/empty_value.rdoc
csv-3.1.6 doc/options/parsing/empty_value.rdoc
csv-3.1.5 doc/empty_value.rdoc