Sha256: 3a5368103a97bd034c50fcdb233d3e9a1b505038a0ff06cb8b2ced9c8d1a7ad6

Contents?: true

Size: 426 Bytes

Versions: 20

Compression:

Stored size: 426 Bytes

Contents

====== Option +force_quotes+

Specifies the boolean that determines whether each output field is to be double-quoted.

Default value:
  CSV::DEFAULT_OPTIONS.fetch(:force_quotes) # => false

For examples in this section:
  ary = ['foo', 0, nil]

Using the default, +false+:
  str = CSV.generate_line(ary)
  str # => "foo,0,\n"

Using +true+:
  str = CSV.generate_line(ary, force_quotes: true)
  str # => "\"foo\",\"0\",\"\"\n"

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/generating/force_quotes.rdoc
fluent-plugin-openlineage-light-0.1.4 vendor/bundle/ruby/3.3.0/gems/csv-3.3.0/doc/csv/options/generating/force_quotes.rdoc
fluent-plugin-openlineage-light-0.1.3 vendor/bundle/ruby/3.3.0/gems/csv-3.3.0/doc/csv/options/generating/force_quotes.rdoc
fluent-plugin-openlineage-0.1.0 vendor/bundle/ruby/3.3.0/gems/csv-3.3.0/doc/csv/options/generating/force_quotes.rdoc
csv-3.3.0 doc/csv/options/generating/force_quotes.rdoc
csv-3.2.9 doc/csv/options/generating/force_quotes.rdoc
csv-3.2.8 doc/csv/options/generating/force_quotes.rdoc
csv-3.2.7 doc/csv/options/generating/force_quotes.rdoc
csv-3.2.6 doc/csv/options/generating/force_quotes.rdoc
csv-3.2.5 doc/csv/options/generating/force_quotes.rdoc
csv-3.2.4 doc/csv/options/generating/force_quotes.rdoc
csv-3.2.3 doc/csv/options/generating/force_quotes.rdoc
csv-3.2.2 doc/csv/options/generating/force_quotes.rdoc
csv-3.2.1 doc/csv/options/generating/force_quotes.rdoc
csv-3.2.0 doc/csv/options/generating/force_quotes.rdoc
csv-3.1.9 doc/csv/options/generating/force_quotes.rdoc
csv-3.1.8 doc/csv/options/generating/force_quotes.rdoc
csv-3.1.7 doc/csv/options/generating/force_quotes.rdoc
csv-3.1.6 doc/options/generating/force_quotes.rdoc
csv-3.1.5 doc/force_quotes.rdoc