* 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
This commit is contained in:
drbrain 2011-10-04 20:48:34 +00:00
Родитель 137c547c3e
Коммит 9654a4c985
2 изменённых файлов: 12 добавлений и 0 удалений

Просмотреть файл

@ -1,3 +1,8 @@
Wed Oct 5 05:47:59 2011 Eric Hodel <drbrain@segment7.net>
* 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@tenderlovemaking.com> Wed Oct 5 02:50:27 2011 Aaron Patterson <aaron@tenderlovemaking.com>
* ext/psych/lib/psych/syntax_error.rb: Add file, line, offset, and * ext/psych/lib/psych/syntax_error.rb: Add file, line, offset, and

Просмотреть файл

@ -1321,6 +1321,13 @@ rb_reset_random_seed(void)
r->seed = INT2FIX(0); 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 void
Init_Random(void) Init_Random(void)
{ {