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 | |
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
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | random.c | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,7 @@ +Mon Jan 5 07:58:37 2009 Yukihiro Matsumoto <matz@ruby-lang.org> + + * random.c (rb_f_srand): update RDoc. [ruby-core:21113] + Mon Jan 5 06:39:56 2009 Yukihiro Matsumoto <matz@ruby-lang.org> * range.c (range_max): max value from ... not defined for non @@ -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 |