From 55a900d9cc598e0670107149d7bb87ad8e006239 Mon Sep 17 00:00:00 2001 From: Sampat Badhe Date: Mon, 31 Jan 2022 02:55:38 +0530 Subject: [PATCH] [ruby/csv] Fix typos (https://github.com/ruby/csv/pull/236) https://github.com/ruby/csv/commit/d5e401266f --- doc/csv/options/generating/write_headers.rdoc | 2 +- doc/csv/recipes/generating.rdoc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/csv/options/generating/write_headers.rdoc b/doc/csv/options/generating/write_headers.rdoc index f9faa9d438..c56aa48adb 100644 --- a/doc/csv/options/generating/write_headers.rdoc +++ b/doc/csv/options/generating/write_headers.rdoc @@ -19,7 +19,7 @@ Without +write_headers+: With +write_headers+": CSV.open(file_path,'w', - :write_headers=> true, + :write_headers => true, :headers => ['Name','Value'] ) do |csv| csv << ['foo', '0'] diff --git a/doc/csv/recipes/generating.rdoc b/doc/csv/recipes/generating.rdoc index 00a0f6b697..a6bd88a714 100644 --- a/doc/csv/recipes/generating.rdoc +++ b/doc/csv/recipes/generating.rdoc @@ -146,7 +146,7 @@ This example defines and uses a custom write converter to strip whitespace from ==== Recipe: Specify Multiple Write Converters -Use option :write_converters and multiple custom coverters +Use option :write_converters and multiple custom converters to convert field values when generating \CSV. This example defines and uses two custom write converters to strip and upcase generated fields: