[前][次][番号順一覧][スレッド一覧]

ruby-changes:57001

From: Kazuhiro <ko1@a...>
Date: Tue, 13 Aug 2019 15:28:28 +0900 (JST)
Subject: [ruby-changes:57001] Kazuhiro NISHIYAMA: ffab84fa3e (master): Fix a typo [ci skip]

https://git.ruby-lang.org/ruby.git/commit/?id=ffab84fa3e

From ffab84fa3ee7c0a0c2919664113caae6fac02403 Mon Sep 17 00:00:00 2001
From: Kazuhiro NISHIYAMA <zn@m...>
Date: Tue, 13 Aug 2019 15:27:46 +0900
Subject: Fix a typo [ci skip]


diff --git a/lib/csv.rb b/lib/csv.rb
index fcf54a2..4893b94 100644
--- a/lib/csv.rb
+++ b/lib/csv.rb
@@ -200,7 +200,7 @@ using CSV::MatchP if CSV.const_defined?(:MatchP) https://github.com/ruby/ruby/blob/trunk/lib/csv.rb#L200
 #   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
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]