8000 fix typo conveters => converters for CSV parsing docs (#196) · ruby/csv@77ccf48 · GitHub
[go: up one dir, main page]

Skip to content

Commit 77ccf48

Browse files
authored
fix typo conveters => converters for CSV parsing docs (#196)
1 parent 5855c01 commit 77ccf48

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/csv/recipes/parsing.rdoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ You can use multiple field converters in either of these ways:
431431

432432
===== Recipe: Specify Multiple Field Converters in Option +:converters+
433433

434-
Apply multiple field converters by specifying them in option +:conveters+:
434+
Apply multiple field converters by specifying them in option +:converters+:
435435
source = "Name,Value\nfoo,0\nbar,1.0\nbaz,2.0\n"
436436
parsed = CSV.parse(source, headers: true, converters: [:integer, :float])
437437
parsed['Value'] # => [0, 1.0, 2.0]
@@ -500,7 +500,7 @@ You can use multiple header converters in either of these ways:
500500

501501
===== Recipe: Specify Multiple Header Converters in Option :header_converters
502502

503-
Apply multiple header converters by specifying them in option +:header_conveters+:
503+
Apply multiple header converters by specifying them in option +:header_converters+:
504504
source = "Name,Value\nfoo,0\nbar,1.0\nbaz,2.0\n"
505505
parsed = CSV.parse(source, headers: true, header_converters: [:downcase, :symbol])
506506
parsed.headers # => [:name, :value]

0 commit comments

Comments
 (0)
0