8000 add document of strip (#88) · ruby/csv@de0257d · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit de0257d

Browse files
hayashiyoshinoyugui
authored andcommitted
add document of strip (#88)
* add document of strip * modify typo
1 parent 3976985 commit de0257d

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)
0