aboutsummaryrefslogtreecommitdiffstats
path: root/random.c
diff options
context:
space:
mode:
authordrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-10-04 20:48:34 +0000
committerdrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-10-04 20:48:34 +0000
commit9654a4c9855d2dff19dbc2e446949b43e31dcd3d (patch)
tree6578501b21906cc00e34ee3144e83f076ab51dca /random.c
parent137c547c3ef8167630170275ba2ae5a14fa0af95 (diff)
downloadruby-9654a4c9855d2dff19dbc2e446949b43e31dcd3d.tar.gz
* random.c (Init_Random): Add a top-level comment for Random. Patch
by Brett Bim. [Ruby 1.9 - Bug #5403] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33405 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'random.c')
-rw-r--r--random.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/random.c b/random.c
index ebb4a60de0..0f7a379756 100644
--- a/random.c
+++ b/random.c
@@ -1321,6 +1321,13 @@ rb_reset_random_seed(void)
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)
{