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

ruby-changes:12001

From: matz <ko1@a...>
Date: Thu, 11 Jun 2009 15:29:23 +0900 (JST)
Subject: [ruby-changes:12001] Ruby:r23665 (trunk): * lib/prime.rb: documentation typo fixed. a patch from okkez.

matz	2009-06-11 15:29:06 +0900 (Thu, 11 Jun 2009)

  New Revision: 23665

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

  Log:
    * lib/prime.rb: documentation typo fixed.  a patch from okkez.
      [ruby-dev:38586]

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

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 23664)
+++ ChangeLog	(revision 23665)
@@ -1,3 +1,8 @@
+Thu Jun 11 15:27:17 2009  Yukihiro Matsumoto  <matz@r...>
+
+	* lib/prime.rb: documentation typo fixed.  a patch from okkez.
+	  [ruby-dev:38586]
+
 Wed Jun 10 18:15:17 2009  NAKAMURA Usaku  <usa@r...>
 
 	* dir.c (dir_s_getwd): directory path's encoding should be filesystem's
Index: lib/prime.rb
===================================================================
--- lib/prime.rb	(revision 23664)
+++ lib/prime.rb	(revision 23665)
@@ -118,7 +118,7 @@
   # if no block given.
   #
   # == Description
-  # Calls +block+ once for each prime numer, passing the prime as
+  # Calls +block+ once for each prime number, passing the prime as
   # a parameter.
   #
   # +ubound+::
@@ -127,7 +127,7 @@
   #
   # == Note
   # +Prime+.+new+ returns a object extended by +Prime+::+OldCompatibility+
-  # in order to compatibility to Ruby 1.9, and +Prime+#each is overwritten
+  # in order to compatibility to Ruby 1.8, and +Prime+#each is overwritten
   # by +Prime+::+OldCompatibility+#+each+.
   #
   # +Prime+.+new+ is now obsolete. Use +Prime+.+instance+.+each+ or simply

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

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