From fe40841bfb031d278daea5b05fb13084f887fec5 Mon Sep 17 00:00:00 2001 From: hayashiyoshino Date: Fri, 19 Apr 2019 20:59:38 +0900 Subject: [ruby/csv] add document of strip (#88) * add document of strip * modify typo https://github.com/ruby/csv/commit/de0257dc31 --- lib/csv.rb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'lib/csv.rb') diff --git a/lib/csv.rb b/lib/csv.rb index ff317d8995..086f0351e6 100644 --- a/lib/csv.rb +++ b/lib/csv.rb @@ -888,7 +888,11 @@ class CSV # :write_converters:: TODO # :write_nil_value:: TODO # :write_empty_value:: TODO - # :strip:: TODO + # :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 + # +true+, CSV will strip string. The + # length of string must be 1. # # See CSV::DEFAULT_OPTIONS for the default settings. # -- cgit v1.2.3