diff options
author | Sampat Badhe <sampatbadhe@gmail.com> | 2022-01-31 02:55:38 +0530 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2023-05-25 01:44:17 +0900 |
commit | 55a900d9cc598e0670107149d7bb87ad8e006239 (patch) | |
tree | 6b059691c869d0b51833b24d5c3e24a30ad85cda /doc | |
parent | 81c57ae7ac1e3f2e1ffc5d5800848e927d5628a6 (diff) |
[ruby/csv] Fix typos (https://github.com/ruby/csv/pull/236)
https://github.com/ruby/csv/commit/d5e401266f
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/7851
Diffstat (limited to 'doc')
-rw-r--r-- | doc/csv/options/generating/write_headers.rdoc | 2 | ||||
-rw-r--r-- | 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 <tt>:write_converters</tt> and multiple custom coverters +Use option <tt>:write_converters</tt> 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: |