diff --git a/ChangeLog b/ChangeLog index c99b3b59f8..d951fbf4aa 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Sat Feb 2 17:40:21 2008 NARUSE, Yui + + * time.c (time_cmp): Time.<=> no longer supports comparison with + numeric. [ruby-core#15332] + Sat Feb 2 09:53:39 2008 Nobuyoshi Nakada * configure.in (darwin): disabled fat-binary support which confuses 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