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

ruby-changes:19694

From: jeg2 <ko1@a...>
Date: Thu, 26 May 2011 22:32:52 +0900 (JST)
Subject: [ruby-changes:19694] jeg2:r31739 (trunk): * lib/csv.rb: Documentation improvements from Ysiad Ferreiras.

jeg2	2011-05-26 22:32:40 +0900 (Thu, 26 May 2011)

  New Revision: 31739

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

  Log:
    * lib/csv.rb: Documentation improvements from Ysiad Ferreiras.
      [Ruby 1.9 - Bug #4785]

  Modified files:
    trunk/ChangeLog
    trunk/lib/csv.rb

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 31738)
+++ ChangeLog	(revision 31739)
@@ -1,3 +1,8 @@
+Thu May 26 10:32:11 2011  James Edward Gray II  <jeg2@r...>
+
+	* lib/csv.rb: Documentation improvements from Ysiad Ferreiras.
+	  [Ruby 1.9 - Bug #4785]
+
 Thu May 26 15:42:02 2011  Cezary Baginski <cezary.baginski@g...>
 
 	* lib/xmlrpc/parser.rb (FaultException): fix to_s and inspect
Index: lib/csv.rb
===================================================================
--- lib/csv.rb	(revision 31738)
+++ lib/csv.rb	(revision 31739)
@@ -27,7 +27,8 @@
 # hopefully this won't be too radically different.
 #
 # We must have met our goals because FasterCSV was renamed to CSV and replaced
-# the original library.
+# the original library as of Ruby 1.9. If you are migrating code from 1.8 or
+# earlier, you may have to change your code to comply with the new interface.
 #
 # == What's Different From the Old CSV?
 #
@@ -2220,7 +2221,7 @@
   end
 
   #
-  # This methods is used to turn a finished +row+ into a CSV::Row.  Header rows
+  # This method is used to turn a finished +row+ into a CSV::Row.  Header rows
   # are also dealt with here, either by returning a CSV::Row with identical
   # headers and fields (save that the fields do not go through the converters)
   # or by reading past them to return a field row. Headers are also saved in
@@ -2259,8 +2260,8 @@
   end
 
   #
-  # Thiw methods injects an instance variable <tt>unconverted_fields</tt> into
-  # +row+ and an accessor method for it called unconverted_fields().  The
+  # This method injects an instance variable <tt>unconverted_fields</tt> into
+  # +row+ and an accessor method for +row+ called unconverted_fields().  The
   # variable is set to the contents of +fields+.
   #
   def add_unconverted_fields(row, fields)

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

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