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

ruby-changes:3067

From: ko1@a...
Date: 24 Dec 2007 06:37:41 +0900
Subject: [ruby-changes:3067] matz - Ruby:r14559 (trunk): * array.c (rb_ary_at): updated documentation. a patch from Tadashi

matz	2007-12-24 06:37:28 +0900 (Mon, 24 Dec 2007)

  New Revision: 14559

  Modified files:
    trunk/ChangeLog
    trunk/array.c

  Log:
    * array.c (rb_ary_at): updated documentation. a patch from Tadashi
      Saito <shiba AT mail2.accsnet.ne.jp> in [ruby-core:14330].

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/array.c?r1=14559&r2=14558
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=14559&r2=14558

Index: array.c
===================================================================
--- array.c	(revision 14558)
+++ array.c	(revision 14559)
@@ -767,8 +767,6 @@
  *  Returns the element at _index_. A
  *  negative index counts from the end of _self_.  Returns +nil+
  *  if the index is out of range. See also <code>Array#[]</code>.
- *  (<code>Array#at</code> is slightly faster than <code>Array#[]</code>,
- *  as it does not accept ranges and so on.)
  *
  *     a = [ "a", "b", "c", "d", "e" ]
  *     a.at(0)     #=> "a"
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 14558)
+++ ChangeLog	(revision 14559)
@@ -1,3 +1,5 @@
+Mon Dec 24 06:36:00 2007  Yukihiro Matsumoto  <matz@r...>
+
 Mon Dec 24 05:32:22 2007  Yukihiro Matsumoto  <matz@r...>
 
 	* enum.c (enum_inject): updated documentation.  a patch from Keita
@@ -3,7 +5,10 @@
 	  Yamaguchi <keita.yamaguchi AT gmail.com> in [ruby-dev:32686].
 
-       * README.EXT: updated.  a patch from Tadashi Saito
-         <shiba AT mail2.accsnet.ne.jp> in [ruby-core:14328].
+	* README.EXT: updated.  a patch from Tadashi Saito
+	  <shiba AT mail2.accsnet.ne.jp> in [ruby-core:14328].
 
+	* array.c (rb_ary_at): updated documentation. a patch from Tadashi
+	  Saito <shiba AT mail2.accsnet.ne.jp> in [ruby-core:14330].
+
 Mon Dec 24 05:13:04 2007  Yukihiro Matsumoto  <matz@r...>
 

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

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