Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
CSV::Parser#prepare
prepare
lib/csv/parser.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.3.0/lib/csv/parser.rb, line 437
def prepare
prepare_variable
prepare_quote_character
prepare_backslash
prepare_skip_lines
prepare_strip
prepare_separators
validate_strip_and_col_sep_options
prepare_quoted
prepare_unquoted
prepare_line
prepare_header
prepare_parser
end
A set of tasks to prepare the file in order to parse it
See also
#parse_unquoted_column_value
#prepare_backslash
#parse_row_end
#prepare_header
also in
3.2 · 3.1 · 3.0