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

ruby-changes:4446

From: ko1@a...
Date: Wed, 9 Apr 2008 20:55:40 +0900 (JST)
Subject: [ruby-changes:4446] knu - Ruby:r15937 (ruby_1_8): Update.

knu	2008-04-09 20:55:24 +0900 (Wed, 09 Apr 2008)

  New Revision: 15937

  Modified files:
    branches/ruby_1_8/ChangeLog
    branches/ruby_1_8/NEWS

  Log:
    Update.

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8/ChangeLog?r1=15937&r2=15936&diff_format=u
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8/NEWS?r1=15937&r2=15936&diff_format=u

Index: ruby_1_8/NEWS
===================================================================
--- ruby_1_8/NEWS	(revision 15936)
+++ ruby_1_8/NEWS	(revision 15937)
@@ -21,6 +21,11 @@
     determine if each element should be counted instead of checking if
     the element is non-nil.
 
+  * Array#index
+  * Array#rindex
+
+    Take a block instead of an argument.
+
   * Integer#ord implemented.
   * Integer#odd? implemented.
   * Integer#even? implemented.
Index: ruby_1_8/ChangeLog
===================================================================
--- ruby_1_8/ChangeLog	(revision 15936)
+++ ruby_1_8/ChangeLog	(revision 15937)
@@ -1,7 +1,7 @@
 Wed Apr  9 20:47:16 2008  Akinori MUSHA  <knu@i...>
 
 	* array.c (rb_ary_index, rb_ary_index): Array#index and #rindex
-	  take a block instead of an argument; backported from 1.9.
+	  can take a block instead of an argument; backported from 1.9.
 
 Wed Apr  9 19:58:31 2008  Akinori MUSHA  <knu@i...>
 

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

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