Maintenance Ruby 3.3 gets fixes, but no new features. 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.3.0/lib/csv.rb, line 2029
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 # => "\""