summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorSampat Badhe <sampat.badhe@kiprosh.com>2020-12-26 02:47:32 +0530
committerKenta Murata <mrkn@mrkn.jp>2020-12-27 15:27:03 +0900
commit677ccb927c10444449459added79c8e7d2fc3186 (patch)
tree2fe81ded72c5bdda152c6b31e89729083f42665d /doc
parentcd2c726bc072127394fd50fb25076fc8f3cfe632 (diff)
[ruby/csv] fix typo conveters => converters for CSV parsing docs (#196)
https://github.com/ruby/csv/commit/77ccf486fe
Diffstat (limited to 'doc')
-rw-r--r--doc/csv/recipes/parsing.rdoc4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/csv/recipes/parsing.rdoc b/doc/csv/recipes/parsing.rdoc
index 6312cea5c4..7ac96a934b 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:
===== 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:
===== 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]