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:
parent
75d9fa8b07
commit
ffab84fa3e
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue