summaryrefslogtreecommitdiff
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
commit3c66767bda0dbd0a92ead7c2e2721614a9f82bbe (patch)
treed418972bc436f4c6428ae63ad55734cc56078a83 /random.c
parent639da29270948fa22f68a4c29936ac43401e7942 (diff)
* random.c (rb_f_srand): update RDoc. [ruby-core:21113]
git-svn-id: svn+ssh://ci.ruby-lang.org/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 912039a31c..484c1902fb 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