[前][次][番号順一覧][スレッド一覧]

ruby-changes:3878

From: ko1@a...
Date: Sat, 2 Feb 2008 17:46:22 +0900 (JST)
Subject: [ruby-changes:3878] naruse - Ruby:r15367 (trunk): * time.c (time_cmp): Time.<=> no longer supports comparison with

naruse	2008-02-02 17:46:05 +0900 (Sat, 02 Feb 2008)

  New Revision: 15367

  Modified files:
    trunk/ChangeLog
    trunk/time.c

  Log:
    * time.c (time_cmp): Time.<=> no longer supports comparison with
      numeric. [ruby-core#15332]


  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/time.c?r1=15367&r2=15366&diff_format=u
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=15367&r2=15366&diff_format=u

Index: time.c
===================================================================
--- time.c	(revision 15366)
+++ time.c	(revision 15367)
@@ -1039,11 +1039,8 @@
 /*
  *  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
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 15366)
+++ ChangeLog	(revision 15367)
@@ -1,3 +1,8 @@
+Sat Feb  2 17:40:21 2008  NARUSE, Yui  <naruse@r...>
+
+	* time.c (time_cmp): Time.<=> no longer supports comparison with
+	  numeric. [ruby-core#15332]
+
 Sat Feb  2 09:53:39 2008  Nobuyoshi Nakada  <nobu@r...>
 
 	* configure.in (darwin): disabled fat-binary support which confuses

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]