We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I was learning CSV and found this typo in CSV documents for ruby 2.7.1.
# Headers provided by developer data = CSV.parse('Bob,Engineering,1000', headers: %[name department salary]) data.first.to_h # { "name department salary" => "Bob", nil => "Engineering" }
It should be %w[name department salary], I think.
%w[name department salary]
This one's too. (%i[numeric date])
%i[numeric date]
CSV.parse('Bob,2018-03-01,100', converters: %[numeric date])
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I was learning CSV and found this typo in CSV documents for ruby 2.7.1.
It should be
%w[name department salary]
, I think.This one's too. (
%i[numeric date]
)The text was updated successfully, but these errors were encountered: