From 8c0edbd79d59789b9543d00322d6bde72f86bfda Mon Sep 17 00:00:00 2001 From: kawa_tech <49791334+kaerunote@users.noreply.github.com> Date: Sat, 20 Apr 2019 16:37:52 +0900 Subject: [PATCH] [ruby/csv] add options doc :quote_empty (#89) https://github.com/ruby/csv/commit/5ca8d79f60 --- lib/csv.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/csv.rb b/lib/csv.rb index 44fbd212b0..aaa0c48231 100644 --- a/lib/csv.rb +++ b/lib/csv.rb @@ -884,7 +884,10 @@ class CSV # :empty_value:: When set an object, any values of a # blank string field is replaced by # the set object. - # :quote_empty:: TODO + # :quote_empty:: When set to a +true+ value, CSV will + # quote empty values with double quotes. + # When +false+, CSV will emit an + # empty string for an empty field value. # :write_converters:: Converts values on each line with the # specified Proc object(s), # which receive a String value