diff --git a/ChangeLog b/ChangeLog index 87cd76a7f2..ca1d14de4d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Wed Oct 5 05:47:59 2011 Eric Hodel + + * 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 * ext/psych/lib/psych/syntax_error.rb: Add file, line, offset, and 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) {