From 1a05d988d391d744d49c0143b90e46397ab29765 Mon Sep 17 00:00:00 2001 From: Mau Magnaguagno Date: Fri, 27 Jan 2023 17:48:18 -0300 Subject: [PATCH] [ruby/csv] Remove unused @double_quote_character from Parser (https://github.com/ruby/csv/pull/273) https://github.com/ruby/csv/commit/e5622c53ae --- lib/csv/parser.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/csv/parser.rb b/lib/csv/parser.rb index afb3131cd5..1f8b150e19 100644 --- a/lib/csv/parser.rb +++ b/lib/csv/parser.rb @@ -485,7 +485,6 @@ class CSV message = ":quote_char has to be nil or a single character String" raise ArgumentError, message end - @double_quote_character = @quote_character * 2 @escaped_quote_character = Regexp.escape(@quote_character) @escaped_quote = Regexp.new(@escaped_quote_character) end