diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-01-04 23:00:39 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-01-04 23:00:39 +0000 |
commit | 3d2dbb7d0cb6254265f069786b5d66433eefd9fc (patch) | |
tree | d418972bc436f4c6428ae63ad55734cc56078a83 /random.c | |
parent | 7d7d68f4acb2637e233afb6230f03631fbe4943f (diff) | |
download | ruby-3d2dbb7d0cb6254265f069786b5d66433eefd9fc.tar.gz ruby-3d2dbb7d0cb6254265f069786b5d66433eefd9fc.tar.xz ruby-3d2dbb7d0cb6254265f069786b5d66433eefd9fc.zip |
* random.c (rb_f_srand): update RDoc. [ruby-core:21113]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21329 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'random.c')
-rw-r--r-- | random.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -342,7 +342,7 @@ random_seed(void) * srand(number=0) => old_seed * * Seeds the pseudorandom number generator to the value of - * <i>number</i>.<code>to_i.abs</code>. If <i>number</i> is omitted + * <i>number</i>. If <i>number</i> is omitted * or zero, seeds the generator using a combination of the time, the * process id, and a sequence number. (This is also the behavior if * <code>Kernel::rand</code> is called without previously calling |