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

ruby-changes:27733

From: ktsj <ko1@a...>
Date: Sun, 17 Mar 2013 10:34:32 +0900 (JST)
Subject: [ruby-changes:27733] ktsj:r39785 (trunk): * array.c: fix rdoc. [ruby-trunk - Bug #8108]

ktsj	2013-03-17 10:34:20 +0900 (Sun, 17 Mar 2013)

  New Revision: 39785

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

  Log:
    * array.c: fix rdoc. [ruby-core:53485] [ruby-trunk - Bug #8108]

  Modified files:
    trunk/array.c

Index: array.c
===================================================================
--- array.c	(revision 39784)
+++ array.c	(revision 39785)
@@ -5226,7 +5226,7 @@ rb_ary_drop_while(VALUE ary) https://github.com/ruby/ruby/blob/trunk/array.c#L5226
  *
  *     ary = Array.new    #=> []
  *     Array.new(3)       #=> [nil, nil, nil]
- *     Array.new(3, true) #=> [0, 0, 0]
+ *     Array.new(3, true) #=> [true, true, true]
  *
  *  Note that the second argument populates the array with references to the
  *  same object.  Therefore, it is only recommended in cases when you need to

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

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