[ruby-core:32712] [Ruby 1.9-Bug#3915][Open] [PATCH] fix typo in csv documentation

From: okkez _ <redmine@...>
Date: 2010-10-07 14:43:26 UTC
List: ruby-core #32712
Bug #3915: [PATCH] fix typo in csv documentation
http://redmine.ruby-lang.org/issues/show/3915

Author: okkez _
Status: Open, Priority: Normal
Category: DOC
ruby -v: ruby 1.9.2p14 (2010-10-02 revision 29393) [x86_64-linux]

There are some typos in csv documentation.
This patch fixes it.


----------------------------------------
http://redmine.ruby-lang.org

Attachments (1)

csv.diff (2.19 KB, text/x-diff)
Index: lib/csv.rb
===================================================================
--- lib/csv.rb	(revision 29421)
+++ lib/csv.rb	(working copy)
@@ -1189,7 +1189,7 @@
   # also understands an additional <tt>:encoding</tt> parameter that you can use
   # to specify the Encoding of the data in the file to be read. You must provide
   # this unless your data is in Encoding::default_external().  CSV will use this
-  # to deterime how to parse the data.  You may provide a second Encoding to
+  # to determine how to parse the data.  You may provide a second Encoding to
   # have the data transcoded as it is read.  For example,
   # <tt>encoding: "UTF-32BE:UTF-8"</tt> would read UTF-32BE data from the file
   # but transcode it to UTF-8 before CSV parses it.
@@ -1285,7 +1285,7 @@
   #
   # You must provide a +mode+ with an embedded Encoding designator unless your
   # data is in Encoding::default_external().  CSV will check the Encoding of the
-  # underlying IO object (set by the +mode+ you pass) to deterime how to parse
+  # underlying IO object (set by the +mode+ you pass) to determine how to parse
   # the data.   You may provide a second Encoding to have the data transcoded as
   # it is read just as you can with a normal call to IO::open().  For example,
   # <tt>"rb:UTF-32BE:UTF-8"</tt> would read UTF-32BE data from the file but
@@ -1387,7 +1387,7 @@
   # file and any +options+ CSV::new() understands.  This method also understands
   # an additional <tt>:encoding</tt> parameter that you can use to specify the
   # Encoding of the data in the file to be read. You must provide this unless
-  # your data is in Encoding::default_external().  CSV will use this to deterime
+  # your data is in Encoding::default_external().  CSV will use this to determine
   # how to parse the data.  You may provide a second Encoding to have the data
   # transcoded as it is read.  For example,
   # <tt>encoding: "UTF-32BE:UTF-8"</tt> would read UTF-32BE data from the file
@@ -1931,7 +1931,7 @@
   alias_method :readline, :shift
 
   #
-  # Returns a simplified description of the key FasterCSV attributes in an
+  # Returns a simplified description of the key CSV attributes in an
   # ASCII compatible String.
   #
   def inspect

In This Thread

Prev Next