Skip to content

End of Life Ruby 3.1 has reached end of life and gets no more fixes. 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.