Skip to content

Commit d5e4012

Browse files
authored
Fix typos (#236)
1 parent 94a9c2d commit d5e4012

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

doc/csv/options/generating/write_headers.rdoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Without +write_headers+:
1919

2020
With +write_headers+":
2121
CSV.open(file_path,'w',
22-
:write_headers=> true,
22+
:write_headers => true,
2323
:headers => ['Name','Value']
2424
) do |csv|
2525
csv << ['foo', '0']

doc/csv/recipes/generating.rdoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ This example defines and uses a custom write converter to strip whitespace from
148148

149149
==== Recipe: Specify Multiple Write Converters
150150

151-
Use option <tt>:write_converters</tt> and multiple custom coverters
151+
Use option <tt>:write_converters</tt> and multiple custom converters
152152
to convert field values when generating \CSV.
153153

154154
This example defines and uses two custom write converters to strip and upcase generated fields:

doc/csv/recipes/parsing.rdoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ Use instance method CSV#each with option +headers+ to read a source \String one
8383
CSV.new(string, headers: true).each do |row|
8484
p row
8585
end
86-
Ouput:
86+
Output:
8787
#<CSV::Row "Name":"foo" "Value":"0">
8888
#<CSV::Row "Name":"bar" "Value":"1">
8989
#<CSV::Row "Name":"baz" "Value":"2">

0 commit comments

Comments
 (0)