Skip to content

End of Life Ruby 3.2 has reached end of life and gets no more fixes. 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.3 · 3.1 · 3.0