summaryrefslogtreecommitdiff
path: root/time.c
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-02-02 08:46:05 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-02-02 08:46:05 +0000
commit887485907ed1336761dd384eab81d20d4d3fa302 (patch)
treedf836e624ef11267b568b52bf5523c2967b9d161 /time.c
parent3940857f2b19ce5be51bc40f7b112c17e741e5e2 (diff)
* time.c (time_cmp): Time.<=> no longer supports comparison with
numeric. [ruby-core#15332] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15367 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'time.c')
-rw-r--r--time.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/time.c b/time.c
index 2b00a538be..8b3ac6c501 100644
--- a/time.c
+++ b/time.c
@@ -1039,11 +1039,8 @@ time_nsec(VALUE time)
/*
* call-seq:
* time <=> other_time => -1, 0, +1
- * time <=> numeric => -1, 0, +1
*
- * Comparison---Compares <i>time</i> with <i>other_time</i> or with
- * <i>numeric</i>, which is the number of seconds (possibly
- * fractional) since the Epoch.
+ * Comparison---Compares <i>time</i> with <i>other_time</i>.
*
* t = Time.now #=> 2007-11-19 08:12:12 -0600
* t2 = t + 2592000 #=> 2007-12-19 08:12:12 -0600