[前][次][番号順一覧][スレッド一覧]

ruby-changes:31876

From: a_matsuda <ko1@a...>
Date: Mon, 2 Dec 2013 14:36:07 +0900 (JST)
Subject: [ruby-changes:31876] a_matsuda:r43955 (trunk): * lib/csv.rb: [DOC] Fix typos

a_matsuda	2013-12-02 14:36:00 +0900 (Mon, 02 Dec 2013)

  New Revision: 43955

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=43955

  Log:
    * lib/csv.rb:  [DOC] Fix typos
    
    s/occurrs/occurs/, s/interation/iteration/, s/intetionally/intentionally/,
    s/modfied/modified/, s/axception/exception/, s/curcuit/circuit/
    [ci skip]

  Modified files:
    trunk/lib/csv.rb
Index: lib/csv.rb
===================================================================
--- lib/csv.rb	(revision 43954)
+++ lib/csv.rb	(revision 43955)
@@ -278,7 +278,7 @@ class CSV https://github.com/ruby/ruby/blob/trunk/lib/csv.rb#L278
     # This method will return the field value by +header+ or +index+.  If a field
     # is not found, +nil+ is returned.
     #
-    # When provided, +offset+ ensures that a header match occurrs on or later
+    # When provided, +offset+ ensures that a header match occurs on or later
     # than the +offset+ index.  You can use this to find duplicate headers,
     # without resorting to hard-coding exact indices.
     #
@@ -812,7 +812,7 @@ class CSV https://github.com/ruby/ruby/blob/trunk/lib/csv.rb#L812
     #
     # Removes any column or row for which the block returns +true+.  In the
     # default mixed mode or row mode, iteration is the standard row major
-    # walking of rows.  In column mode, interation will +yield+ two element
+    # walking of rows.  In column mode, iteration will +yield+ two element
     # tuples containing the column name and an Array of values for that column.
     #
     # This method returns the table for chaining.
@@ -835,7 +835,7 @@ class CSV https://github.com/ruby/ruby/blob/trunk/lib/csv.rb#L835
 
     #
     # In the default mixed mode or row mode, iteration is the standard row major
-    # walking of rows.  In column mode, interation will +yield+ two element
+    # walking of rows.  In column mode, iteration will +yield+ two element
     # tuples containing the column name and an Array of values for that column.
     #
     # This method returns the table for chaining.
@@ -983,7 +983,7 @@ class CSV https://github.com/ruby/ruby/blob/trunk/lib/csv.rb#L983
   # attempting a conversion.  If your data cannot be transcoded to UTF-8 the
   # conversion will fail and the header will remain unchanged.
   #
-  # This Hash is intetionally left unfrozen and users should feel free to add
+  # This Hash is intentionally left unfrozen and users should feel free to add
   # values to it that can be accessed by all CSV objects.
   #
   # To add a combo field, the value should be an Array of names.  Combo fields
@@ -1133,7 +1133,7 @@ class CSV https://github.com/ruby/ruby/blob/trunk/lib/csv.rb#L1133
   # append CSV rows to the String and when the block exits, the final String
   # will be returned.
   #
-  # Note that a passed String *is* modfied by this method.  Call dup() before
+  # Note that a passed String *is* modified by this method.  Call dup() before
   # passing if you need a new String.
   #
   # The +options+ parameter can be anything CSV::new() understands.  This method
@@ -1969,7 +1969,7 @@ class CSV https://github.com/ruby/ruby/blob/trunk/lib/csv.rb#L1969
       else
         begin
           #
-          # remember where we were (pos() will raise an axception if @io is pipe
+          # remember where we were (pos() will raise an exception if @io is pipe
           # or not opened for reading)
           #
           saved_pos = @io.pos
@@ -2175,7 +2175,7 @@ class CSV https://github.com/ruby/ruby/blob/trunk/lib/csv.rb#L2175
           header = @use_headers && !headers ? @headers[index] : nil
           converter[field, FieldInfo.new(index, lineno, header)]
         end
-        break unless field.is_a? String  # short-curcuit pipeline for speed
+        break unless field.is_a? String  # short-circuit pipeline for speed
       end
       field  # final state of each field, converted or original
     end

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]