From 934789941e6f57892ae91a85778672ef883f61be Mon Sep 17 00:00:00 2001 From: hsbt Date: Tue, 4 Nov 2014 03:21:50 +0000 Subject: * 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 --- lib/csv.rb | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/csv.rb b/lib/csv.rb index c56f11bcf4..cc3e7f6362 100644 --- a/lib/csv.rb +++ b/lib/csv.rb @@ -1470,7 +1470,15 @@ class CSV # if the data cannot be transcoded, # leaving the header unchanged. # :skip_blanks:: 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 :skip_lines, or + # inspecting fields.compact.empty? on + # each row. # :force_quotes:: When set to a +true+ value, CSV will # quote all CSV fields it creates. # :skip_lines:: When set to an object responding to -- cgit v1.2.3