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:
parent
cf7e472ab4
commit
1822b19221
Notes:
git
2020-07-20 03:35:43 +09:00
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
#
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue