summaryrefslogtreecommitdiff
path: root/time.c
diff options
context:
space:
mode:
Diffstat (limited to 'time.c')
-rw-r--r--time.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/time.c b/time.c
index df43e2339a..6fe5326dda 100644
--- a/time.c
+++ b/time.c
@@ -950,12 +950,9 @@ time_usec(time)
/*
* call-seq:
- * time <=> other_time => -1, 0, +1
- * time <=> numeric => -1, 0, +1
+ * time <=> other_time => -1, 0, +1 or nil
*
- * Comparison---Compares <i>time</i> with <i>other_time</i> or with
- * <i>numeric</i>, which is the number of seconds (possibly
- * fractional) since epoch.
+ * Comparison---Compares <i>time</i> with <i>other_time</i>.
*
* t = Time.now #=> Wed Apr 09 08:56:03 CDT 2003
* t2 = t + 2592000 #=> Fri May 09 08:56:03 CDT 2003