File tree 1 file changed +13
-3
lines changed
1 file changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -885,9 +885,19 @@ def self.table(path, **options)
885
885
# blank string field is replaced by
886
886
# the set object.
887
887
# <b><tt>:quote_empty</tt></b>:: TODO
888
- # <b><tt>:write_converters</tt></b>:: TODO
889
- # <b><tt>:write_nil_value</tt></b>:: TODO
890
- # <b><tt>:write_empty_value</tt></b>:: TODO
888
+ # <b><tt>:write_converters</tt></b>:: Converts values on each line with the
889
+ # specified <tt>Proc</tt> object(s),
890
+ # which receive a <tt>String</tt> value
891
+ # and return a <tt>String</tt> or +nil+
892
+ # value.
893
+ # When an array is specified, each
894
+ # converter will be applied in order.
895
+ # <b><tt>:write_nil_value</tt></b>:: When a <tt>String</tt> value, +nil+
896
+ # value(s) on each line will be replaced
897
+ # with the specified value.
898
+ # <b><tt>:write_empty_value</tt></b>:: When a <tt>String</tt> or +nil+ value,
899
+ # empty value(s) on each line will be
900
+ # replaced with the specified value.
891
901
# <b><tt>:strip</tt></b>:: When set to a +true+ value, CSV will
892
902
# strip "\t\r\n\f\v" around the values.
893
903
# If you specify a string instead of
You can’t perform that action at this time.
0 commit comments