Skip to content

Commit fe40841

Browse files
hayashiyoshinohsbt
authored andcommitted
[ruby/csv] add document of strip (#88)
* add document of strip * modify typo ruby/csv@de0257dc31
1 parent c8b8299 commit fe40841

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

lib/csv.rb

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -888,7 +888,11 @@ def self.table(path, **options)
888888
# <b><tt>:write_converters</tt></b>:: TODO
889889
# <b><tt>:write_nil_value</tt></b>:: TODO
890890
# <b><tt>:write_empty_value</tt></b>:: TODO
891-
# <b><tt>:strip</tt></b>:: TODO
891+
# <b><tt>:strip</tt></b>:: When set to a +true+ value, CSV will
892+
# strip "\t\r\n\f\v" around the values.
893+
# If you specify a string instead of
894+
# +true+, CSV will strip string. The
895+
# length of string must be 1.
892896
#
893897
# See CSV::DEFAULT_OPTIONS for the default settings.
894898
#

0 commit comments

Comments
 (0)