Skip to content

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy