Skip to content

Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →

instance method

CSV::Parser#validate_strip_and_col_sep_options

validate_strip_and_col_sep_options

This method verifies that there are no (obvious) ambiguities with the provided col_sep and strip parsing options. For example, if col_sep and strip were both equal to +\t+, then there would be no clear way to parse the input.