End of Life Ruby 3.1 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
lib/csv.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.1.3/lib/csv.rb, line 2160
def skip_blanks?
parser.skip_blanks?
end
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