diff --git a/lib/csv.rb b/lib/csv.rb index 086f0351e6..44fbd212b0 100644 --- a/lib/csv.rb +++ b/lib/csv.rb @@ -885,9 +885,19 @@ class CSV # blank string field is replaced by # the set object. # :quote_empty:: TODO - # :write_converters:: TODO - # :write_nil_value:: TODO - # :write_empty_value:: TODO + # :write_converters:: Converts values on each line with the + # specified Proc object(s), + # which receive a String value + # and return a String or +nil+ + # value. + # When an array is specified, each + # converter will be applied in order. + # :write_nil_value:: When a String value, +nil+ + # value(s) on each line will be replaced + # with the specified value. + # :write_empty_value:: When a String or +nil+ value, + # empty value(s) on each line will be + # replaced with the specified value. # :strip:: When set to a +true+ value, CSV will # strip "\t\r\n\f\v" around the values. # If you specify a string instead of