diff options
author | kawa_tech <49791334+kaerunote@users.noreply.github.com> | 2019-04-20 16:37:52 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2019-07-14 23:07:31 +0900 |
commit | 8c0edbd79d59789b9543d00322d6bde72f86bfda (patch) | |
tree | 63b07b301c6d80f1fc9f1a95dca7ae7fcd541d45 /lib | |
parent | 75620c804ea47de040016ccf9766c016f2934df2 (diff) | |
download | ruby-8c0edbd79d59789b9543d00322d6bde72f86bfda.tar.gz |
[ruby/csv] add options doc :quote_empty (#89)
https://github.com/ruby/csv/commit/5ca8d79f60
Diffstat (limited to 'lib')
-rw-r--r-- | lib/csv.rb | 5 |
1 files changed, 4 insertions, 1 deletions
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 # <b><tt>:empty_value</tt></b>:: When set an object, any values of a # blank string field is replaced by # the set object. - # <b><tt>:quote_empty</tt></b>:: TODO + # <b><tt>:quote_empty</tt></b>:: 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. # <b><tt>:write_converters</tt></b>:: Converts values on each line with the # specified <tt>Proc</tt> object(s), # which receive a <tt>String</tt> value |