Sha256: 4e9181cb93dd97f7bdb6623731580bc835110d6024cb165fcc513813373ba90d

Contents?: true

Size: 350 Bytes

Versions: 24

Compression:

Stored size: 350 Bytes

Contents

====== Option +quote_empty+

Specifies the boolean that determines whether an empty value is to be double-quoted.

Default value:
  CSV::DEFAULT_OPTIONS.fetch(:quote_empty) # => true

With the default +true+:
  CSV.generate_line(['"', ""]) # => "\"\"\"\",\"\"\n"

With +false+:
    CSV.generate_line(['"', ""], quote_empty: false) # => "\"\"\"\",\n"

Version data entries

24 entries across 23 versions & 5 rubygems

Version Path
trusty-cms-7.0.9.1 vendor/bundle/ruby/3.1.0/gems/csv-3.3.0/doc/csv/options/generating/quote_empty.rdoc
trusty-cms-7.0.9.1 vendor/bundle/ruby/3.3.0/gems/csv-3.3.0/doc/csv/options/generating/quote_empty.rdoc
csv-3.3.2 doc/csv/options/generating/quote_empty.rdoc
csv-3.3.1 doc/csv/options/generating/quote_empty.rdoc
fluent-plugin-nuopenlineage-light-0.1.0 vendor/bundle/ruby/3.3.0/gems/csv-3.3.0/doc/csv/options/generating/quote_empty.rdoc
fluent-plugin-openlineage-light-0.1.4 vendor/bundle/ruby/3.3.0/gems/csv-3.3.0/doc/csv/options/generating/quote_empty.rdoc
fluent-plugin-openlineage-light-0.1.3 vendor/bundle/ruby/3.3.0/gems/csv-3.3.0/doc/csv/options/generating/quote_empty.rdoc
fluent-plugin-openlineage-0.1.0 vendor/bundle/ruby/3.3.0/gems/csv-3.3.0/doc/csv/options/generating/quote_empty.rdoc
csv-3.3.0 doc/csv/options/generating/quote_empty.rdoc
csv-3.2.9 doc/csv/options/generating/quote_empty.rdoc
csv-3.2.8 doc/csv/options/generating/quote_empty.rdoc
csv-3.2.7 doc/csv/options/generating/quote_empty.rdoc
csv-3.2.6 doc/csv/options/generating/quote_empty.rdoc
csv-3.2.5 doc/csv/options/generating/quote_empty.rdoc
csv-3.2.4 doc/csv/options/generating/quote_empty.rdoc
csv-3.2.3 doc/csv/options/generating/quote_empty.rdoc
csv-3.2.2 doc/csv/options/generating/quote_empty.rdoc
csv-3.2.1 doc/csv/options/generating/quote_empty.rdoc
csv-3.2.0 doc/csv/options/generating/quote_empty.rdoc
csv-3.1.9 doc/csv/options/generating/quote_empty.rdoc