Skip to content

Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →

instance method

CSV#skip_blanks?

csv.skip_blanks? → true or false

Returns the value that determines whether blank lines are to be ignored; used for parsing; see Option skip_blanks:

Example
CSV.new('').skip_blanks? # => false
See also #shift #skip_lines #row_sep #stat also in 3.2 · 3.1 · 3.0