summaryrefslogtreecommitdiffstats
path: root/random.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-01-04 23:00:39 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-01-04 23:00:39 +0000
commit3d2dbb7d0cb6254265f069786b5d66433eefd9fc (patch)
treed418972bc436f4c6428ae63ad55734cc56078a83 /random.c
parent7d7d68f4acb2637e233afb6230f03631fbe4943f (diff)
downloadruby-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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/random.c b/random.c
index 912039a31..484c1902f 100644
--- a/random.c
+++ b/random.c
@@ -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