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

ruby-changes:21356

From: drbrain <ko1@a...>
Date: Wed, 5 Oct 2011 05:48:48 +0900 (JST)
Subject: [ruby-changes:21356] drbrain:r33405 (trunk): * random.c (Init_Random): Add a top-level comment for Random. Patch

drbrain	2011-10-05 05:48:34 +0900 (Wed, 05 Oct 2011)

  New Revision: 33405

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

  Log:
    * random.c (Init_Random):  Add a top-level comment for Random.  Patch
      by Brett Bim.  [Ruby 1.9 - Bug #5403]

  Modified files:
    trunk/ChangeLog
    trunk/random.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 33404)
+++ ChangeLog	(revision 33405)
@@ -1,3 +1,8 @@
+Wed Oct  5 05:47:59 2011  Eric Hodel  <drbrain@s...>
+
+	* random.c (Init_Random):  Add a top-level comment for Random.  Patch
+	  by Brett Bim.  [Ruby 1.9 - Bug #5403]
+
 Wed Oct  5 02:50:27 2011  Aaron Patterson <aaron@t...>
 
 	* ext/psych/lib/psych/syntax_error.rb: Add file, line, offset, and
Index: random.c
===================================================================
--- random.c	(revision 33404)
+++ random.c	(revision 33405)
@@ -1321,6 +1321,13 @@
     r->seed = INT2FIX(0);
 }
 
+/*
+ *  Document-class: Random
+ *
+ *  The Random module contains module functions for producing pseudo-random
+ *  numbers that meet certain requirements for randomness.
+ */
+
 void
 Init_Random(void)
 {

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

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