From 887485907ed1336761dd384eab81d20d4d3fa302 Mon Sep 17 00:00:00 2001 From: naruse Date: Sat, 2 Feb 2008 08:46:05 +0000 Subject: * 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 --- time.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'time.c') 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 time with other_time or with - * numeric, which is the number of seconds (possibly - * fractional) since the Epoch. + * Comparison---Compares time with other_time. * * t = Time.now #=> 2007-11-19 08:12:12 -0600 * t2 = t + 2592000 #=> 2007-12-19 08:12:12 -0600 -- cgit v1.2.3