diff options
author | hayashiyoshino <twinklestaryoshino@gmail.com> | 2019-04-19 20:59:38 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2019-07-14 23:07:31 +0900 |
commit | fe40841bfb031d278daea5b05fb13084f887fec5 (patch) | |
tree | ec3fb7e93804cca8f22427d36ea2e9324740b731 /lib/csv.rb | |
parent | c8b82998d4fbbb8988b0f2458327697918a9e1a2 (diff) |
[ruby/csv] add document of strip (#88)
* add document of strip
* modify typo
https://github.com/ruby/csv/commit/de0257dc31
Diffstat (limited to 'lib/csv.rb')
-rw-r--r-- | lib/csv.rb | 6 |
1 files changed, 5 insertions, 1 deletions
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 # <b><tt>:write_converters</tt></b>:: TODO # <b><tt>:write_nil_value</tt></b>:: TODO # <b><tt>:write_empty_value</tt></b>:: TODO - # <b><tt>:strip</tt></b>:: TODO + # <b><tt>:strip</tt></b>:: 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. # |