summaryrefslogtreecommitdiff
path: root/random.c
diff options
context:
space:
mode:
authoryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-01-09 02:17:46 +0000
committeryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-01-09 02:17:46 +0000
commit31698908fef19aad5be054ef31ac34193a53e4b9 (patch)
treed4d015135e8b21cdfef628bc614aa46e1286e44a /random.c
parentfc82d467ddaa9bd12d34bf5672bd0df93ce46999 (diff)
merges r21329 from trunk into ruby_1_9_1.
* random.c (rb_f_srand): update RDoc. [ruby-core:21113] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@21395 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 b0d2d03a01..6fded25ce2 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