End of Life Ruby 3.2 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
CSV::Parser#skip_line?
skip_line?(line)
lib/csv/parser.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.2.0/lib/csv/parser.rb, line 910
def skip_line?(line)
line = line.delete_suffix(@row_separator)
case @skip_lines
when String
line.include?(@skip_lines)
when Regexp
@skip_lines.match?(line)
else
@skip_lines.match(line)
end
end
No documentation available