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

ruby-changes:27270

From: eregon <ko1@a...>
Date: Wed, 20 Feb 2013 01:19:23 +0900 (JST)
Subject: [ruby-changes:27270] eregon:r39322 (trunk): * array.c: Fix typo in class documentation

eregon	2013-02-20 01:19:13 +0900 (Wed, 20 Feb 2013)

  New Revision: 39322

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

  Log:
    * array.c: Fix typo in class documentation

  Modified files:
    trunk/array.c

Index: array.c
===================================================================
--- array.c	(revision 39321)
+++ array.c	(revision 39322)
@@ -5241,7 +5241,7 @@ rb_ary_drop_while(VALUE ary) https://github.com/ruby/ruby/blob/trunk/array.c#L5241
  *     #=> [[nil, nil, nil], [nil, nil, nil], [nil, nil, nil]]
  *
  *  An array can also be created by using the Array() method, provided by
- *  Kernel, which calls  #to_ary or #to_a on it's argument.
+ *  Kernel, which tries to call #to_ary, then #to_a on its argument.
  *
  *	Array({:a => "a", :b => "b"}) #=> [[:a, "a"], [:b, "b"]]
  *

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

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