mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/csv.rb: added documentation for skip_blanks option by @decasia
[fix GH-744][ci skip] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
91dd80fac7
commit
934789941e
2 changed files with 14 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
Tue Nov 4 12:21:45 2014 SHIBATA Hiroshi <shibata.hiroshi@gmail.com>
|
||||
|
||||
* lib/csv.rb: added documentation for skip_blanks option by @decasia
|
||||
[fix GH-744][ci skip]
|
||||
|
||||
Tue Nov 4 12:09:18 2014 SHIBATA Hiroshi <shibata.hiroshi@gmail.com>
|
||||
|
||||
* lib/open3.rb: fix code formatting in documentation by @JoshCheek
|
||||
|
|
10
lib/csv.rb
10
lib/csv.rb
|
@ -1470,7 +1470,15 @@ class CSV
|
|||
# if the data cannot be transcoded,
|
||||
# leaving the header unchanged.
|
||||
# <b><tt>:skip_blanks</tt></b>:: When set to a +true+ value, CSV will
|
||||
# skip over any rows with no content.
|
||||
# skip over any empty rows. Note that
|
||||
# this setting will not skip rows that
|
||||
# contain column separators, even if
|
||||
# the rows contain no actual data. If
|
||||
# you want to skip rows that contain
|
||||
# separators but no content, consider
|
||||
# using <tt>:skip_lines</tt>, or
|
||||
# inspecting fields.compact.empty? on
|
||||
# each row.
|
||||
# <b><tt>:force_quotes</tt></b>:: When set to a +true+ value, CSV will
|
||||
# quote all CSV fields it creates.
|
||||
# <b><tt>:skip_lines</tt></b>:: When set to an object responding to
|
||||
|
|
Loading…
Reference in a new issue