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

ruby-changes:64619

From: Sampat <ko1@a...>
Date: Sun, 27 Dec 2020 15:38:24 +0900 (JST)
Subject: [ruby-changes:64619] 677ccb927c (master): [ruby/csv] fix typo conveters => converters for CSV parsing docs (#196)

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

From 677ccb927c10444449459added79c8e7d2fc3186 Mon Sep 17 00:00:00 2001
From: Sampat Badhe <sampat.badhe@k...>
Date: Sat, 26 Dec 2020 02:47:32 +0530
Subject: [ruby/csv] fix typo conveters => converters for CSV parsing docs
 (#196)

https://github.com/ruby/csv/commit/77ccf486fe

diff --git a/doc/csv/recipes/parsing.rdoc b/doc/csv/recipes/parsing.rdoc
index 6312cea..7ac96a9 100644
--- a/doc/csv/recipes/parsing.rdoc
+++ b/doc/csv/recipes/parsing.rdoc
@@ -429,7 +429,7 @@ You can use multiple field converters in either of these ways: https://github.com/ruby/ruby/blob/trunk/doc/csv/recipes/parsing.rdoc#L429
 
 ===== Recipe: Specify Multiple Field Converters in Option +:converters+
 
-Apply multiple field converters by specifying them in option +:conveters+:
+Apply multiple field converters by specifying them in option +:converters+:
   source = "Name,Value\nfoo,0\nbar,1.0\nbaz,2.0\n"
   parsed = CSV.parse(source, headers: true, converters: [:integer, :float])
   parsed['Value'] # => [0, 1.0, 2.0]
@@ -498,7 +498,7 @@ You can use multiple header converters in either of these ways: https://github.com/ruby/ruby/blob/trunk/doc/csv/recipes/parsing.rdoc#L498
 
 ===== Recipe: Specify Multiple Header Converters in Option :header_converters
 
-Apply multiple header converters by specifying them in option +:header_conveters+:
+Apply multiple header converters by specifying them in option +:header_converters+:
   source = "Name,Value\nfoo,0\nbar,1.0\nbaz,2.0\n"
   parsed = CSV.parse(source, headers: true, header_converters: [:downcase, :symbol])
   parsed.headers # => [:name, :value]
-- 
cgit v0.10.2


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

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