From 1822b19221400da9e238c03b21f734159fb7fe6f Mon Sep 17 00:00:00 2001 From: Sutou Kouhei Date: Sun, 17 May 2020 12:02:55 +0900 Subject: [PATCH] [ruby/csv] Don't drop stack trace in CSV.parse_line GitHub: fix GH-120 Reported by Kyle d'Oliveira. Thanks!!! https://github.com/ruby/csv/commit/2959483f90 --- lib/csv.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/csv.rb b/lib/csv.rb index a5109c010b..225f393401 100644 --- a/lib/csv.rb +++ b/lib/csv.rb @@ -963,7 +963,7 @@ class CSV # See {Options for Parsing}[#class-CSV-label-Options+for+Parsing]. # def parse_line(line, **options) - new(line, **options).shift + new(line, **options).each.first end #