Actions
Feature #12839
closedCSV - Give not nil but empty strings for empty fields
Feature #12839:
CSV - Give not nil but empty strings for empty fields
Description
The CSV parser gives nil for empty fields.
The above behavior maybe be suitable for certain programmers, but I hope to get [["", ""]].
So I had used to write the following code reluctantly till Ruby 2.1:
It is wasteful, but certainly works for my purpose.
However, because of #11126, the above code does not work from Ruby 2.2.
(Converters are not called for nil)
I merely want an option, which makes the CSV parser give empty strings for empty fields.
Namely,
Actions