method

may_quoted?

ruby latest stable - Class: CSV::Parser

Method not available on this version

This method is only available on newer versions. The first available version (v2_6_3) is shown here.

may_quoted?()
private

No documentation available.

# File lib/csv/parser.rb, line 650
    def may_quoted?
      return false if @quote_character.nil?

      if @input.is_a?(StringIO)
        sample = @input.string
      else
        return false if @samples.empty?
        sample = @samples.first
      end
      sample[0, 128].index(@quote_character)
    end