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

ruby-changes:11181

From: matz <ko1@a...>
Date: Fri, 6 Mar 2009 13:15:09 +0900 (JST)
Subject: [ruby-changes:11181] Ruby:r22787 (trunk): * array.c (rb_ary_fill): doc for Array#fill misses indication

matz	2009-03-06 13:12:56 +0900 (Fri, 06 Mar 2009)

  New Revision: 22787

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

  Log:
    * array.c (rb_ary_fill): doc for Array#fill misses indication
      about negative value for the start argument.  [ruby-core:22497]

  Modified files:
    trunk/ChangeLog
    trunk/array.c

Index: array.c
===================================================================
--- array.c	(revision 22786)
+++ array.c	(revision 22787)
@@ -2459,6 +2459,7 @@
  *  <code>nil</code> is equivalent to <i>self.length</i>. The last three
  *  forms fill the array with the value of the block. The block is
  *  passed the absolute index of each element to be filled.
+ *  Negative values of <i>start</i> count from the end of the array.
  *
  *     a = [ "a", "b", "c", "d" ]
  *     a.fill("x")              #=> ["x", "x", "x", "x"]
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 22786)
+++ ChangeLog	(revision 22787)
@@ -3,6 +3,11 @@
 	* numeric.c (flo_to_s): keeps enough precision for round trip.
 	  [ruby-core:22325]
 
+Thu Mar  5 17:42:06 2009  Yukihiro Matsumoto  <matz@r...>
+
+	* array.c (rb_ary_fill): doc for Array#fill misses indication
+	  about negative value for the start argument.  [ruby-core:22497]
+
 Thu Mar  5 16:56:14 2009  Nobuyoshi Nakada  <nobu@r...>
 
 	* lib/tmpdir.rb (Dir.tmpdir): not use USERPROFILE, and ignores
@@ -77,22 +82,6 @@
 
 	* win32/setup.mak (-unicows-): checks if unicows.lib is available.
 
-Wed Mar  4 05:19:27 2009  James Edward Gray II  <jeg2@r...>
-
-  * lib/csv.rb: Some minor documentation fixes from Gregory Brown.
-
-Wed Mar  4 03:42:56 2009  James Edward Gray II  <jeg2@r...>
-
-  * lib/csv.rb: A patch from Madoka Yakamamoto to prevent an infinite
-    loop while reading some encodings.
-
-Wed Mar  4 00:54:43 2009  Yuki Sonoda (Yugui)  <yugui@y...>
-
-	* lib/prime.rb (Prime::prime?): used to return a wrong answer.
-	  [ruby-core:22646].
-
-	* test/test_prime.rb (test_prime?): test case for [ruby-core:22646].
-
 Tue Mar  3 17:10:09 2009  Nobuyoshi Nakada  <nobu@r...>
 
 	* ext/extmk.rb (extmake): removes object files no longer used and

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

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