File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ Without +write_headers+:
19
19
20
20
With +write_headers+":
21
21
CSV.open(file_path,'w',
22
- :write_headers=> true,
22
+ :write_headers => true,
23
23
:headers => ['Name','Value']
24
24
) do |csv|
25
25
csv << ['foo', '0']
Original file line number Diff line number Diff line change @@ -146,7 +146,7 @@ This example defines and uses a custom write converter to strip whitespace from
146
146
147
147
==== Recipe: Specify Multiple Write Converters
148
148
149
- Use option <tt>:write_converters</tt> and multiple custom coverters
149
+ Use option <tt>:write_converters</tt> and multiple custom converters
150
150
to convert field values when generating \CSV.
151
151
152
152
This example defines and uses two custom write converters to strip and upcase generated fields:
You can’t perform that action at this time.
0 commit comments