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/generating/quote_empty.rdoc
====== 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"