aboutsummaryrefslogtreecommitdiffstats
path: root/lib/csv.rb
diff options
context:
space:
mode:
authorKazuhiro NISHIYAMA <zn@mbf.nifty.com>2019-08-13 15:27:46 +0900
committerKazuhiro NISHIYAMA <zn@mbf.nifty.com>2019-08-13 15:27:46 +0900
commitffab84fa3ee7c0a0c2919664113caae6fac02403 (patch)
tree2428de2324d94e9f222b297bb782a337677f0271 /lib/csv.rb
parent75d9fa8b079c27c66ac1eabfae366df465244fc4 (diff)
downloadruby-ffab84fa3ee7c0a0c2919664113caae6fac02403.tar.gz
Fix a typo [ci skip]
Diffstat (limited to 'lib/csv.rb')
-rw-r--r--lib/csv.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/csv.rb b/lib/csv.rb
index fcf54a2fa4..4893b94e88 100644
--- a/lib/csv.rb
+++ b/lib/csv.rb
@@ -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