Skip to content

Commit 677ccb9

Browse files
sampatbadhemrkn
authored andcommitted
[ruby/csv] fix typo conveters => converters for CSV parsing docs (#196)
ruby/csv@77ccf486fe
1 parent cd2c726 commit 677ccb9

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
@@ -429,7 +429,7 @@ You can use multiple field converters in either of these ways:
429429

430430
===== Recipe: Specify Multiple Field Converters in Option +:converters+
431431

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

499499
===== Recipe: Specify Multiple Header Converters in Option :header_converters
500500

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

0 commit comments

Comments
 (0)