End of Life Ruby 3.2 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
CSV#quote_char
csv.quote_char → character
lib/csv.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.2.0/lib/csv.rb, line 2028
def quote_char
parser.quote_character
end
Returns the encoded quote character; used for parsing and writing; see Option quote_char:
Example
CSV.new('').quote_char # => "\""