summaryrefslogtreecommitdiff
path: root/random.c
diff options
context:
space:
mode:
Diffstat (limited to 'random.c')
-rw-r--r--random.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/random.c b/random.c
index da83c2c..8f8a7f3 100644
--- a/random.c
+++ b/random.c
@@ -1494,6 +1494,7 @@ Init_Random(void)
{
VALUE rand_default = TypedData_Wrap_Struct(rb_cRandom, &random_data_type, &default_rand);
rb_gc_register_mark_object(rand_default);
+ /* Direct access to Ruby's Pseudorandom number generator (PRNG). */
rb_define_const(rb_cRandom, "DEFAULT", rand_default);
}