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
lib/csv.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.3.0/lib/csv.rb, line 2161
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