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

Fix a typo [ci skip]

This commit is contained in:
Kazuhiro NISHIYAMA 2019-08-13 15:27:46 +09:00
parent 75d9fa8b07
commit ffab84fa3e
No known key found for this signature in database
GPG key ID: 262ED8DBB4222F7A

View file

@ -200,7 +200,7 @@ using CSV::MatchP if CSV.const_defined?(:MatchP)
# data.first.to_h #=> {"Name"=>"Bob", "Department"=>"Engineering", "Salary"=>"1000"}
#
# # Headers provided by developer
# data = CSV.parse('Bob,Engeneering,1000', headers: %i[name department salary])
# data = CSV.parse('Bob,Engineering,1000', headers: %i[name department salary])
# data.first #=> #<CSV::Row name:"Bob" department:"Engineering" salary:"1000">
#
# === Typed data reading