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

ruby-changes:9854

From: yugui <ko1@a...>
Date: Fri, 9 Jan 2009 11:18:04 +0900 (JST)
Subject: [ruby-changes:9854] Ruby:r21395 (ruby_1_9_1): merges r21329 from trunk into ruby_1_9_1.

yugui	2009-01-09 11:17:46 +0900 (Fri, 09 Jan 2009)

  New Revision: 21395

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

  Log:
    merges r21329 from trunk into ruby_1_9_1.
    * random.c (rb_f_srand): update RDoc.  [ruby-core:21113]

  Modified files:
    branches/ruby_1_9_1/ChangeLog
    branches/ruby_1_9_1/random.c

Index: ruby_1_9_1/ChangeLog
===================================================================
--- ruby_1_9_1/ChangeLog	(revision 21394)
+++ ruby_1_9_1/ChangeLog	(revision 21395)
@@ -1,3 +1,7 @@
+Mon Jan  5 07:58:37 2009  Yukihiro Matsumoto  <matz@r...>
+
+	* random.c (rb_f_srand): update RDoc.  [ruby-core:21113]
+
 Thu Jan  8 07:30:52 2009  Tanaka Akira  <akr@f...>
 
 	* lib/open-uri.rb (OpenURI.redirectable?): reverted https redirection.
Index: ruby_1_9_1/random.c
===================================================================
--- ruby_1_9_1/random.c	(revision 21394)
+++ ruby_1_9_1/random.c	(revision 21395)
@@ -342,7 +342,7 @@
  *     srand(number=0)    => old_seed
  *  
  *  Seeds the pseudorandom number generator to the value of
- *  <i>number</i>.<code>to_i.abs</code>. If <i>number</i> is omitted
+ *  <i>number</i>. If <i>number</i> is omitted
  *  or zero, seeds the generator using a combination of the time, the
  *  process id, and a sequence number. (This is also the behavior if
  *  <code>Kernel::rand</code> is called without previously calling

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

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