1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[ruby/csv] Don't drop stack trace in CSV.parse_line

GitHub: fix GH-120

Reported by Kyle d'Oliveira. Thanks!!!

2959483f90
This commit is contained in:
Sutou Kouhei 2020-05-17 12:02:55 +09:00 committed by Nobuyoshi Nakada
parent cf7e472ab4
commit 1822b19221
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6
Notes: git 2020-07-20 03:35:43 +09:00

View file

@ -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
#