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

ruby-changes:47790

From: eregon <ko1@a...>
Date: Thu, 14 Sep 2017 23:54:34 +0900 (JST)
Subject: [ruby-changes:47790] eregon:r59908 (trunk): time.c (Time#-): Fix documentation.

eregon	2017-09-14 23:54:29 +0900 (Thu, 14 Sep 2017)

  New Revision: 59908

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=59908

  Log:
    time.c (Time#-): Fix documentation.

  Modified files:
    trunk/time.c
Index: time.c
===================================================================
--- time.c	(revision 59907)
+++ time.c	(revision 59908)
@@ -3650,7 +3650,7 @@ time_plus(VALUE time1, VALUE time2) https://github.com/ruby/ruby/blob/trunk/time.c#L3650
  *     time - other_time -> float
  *     time - numeric    -> time
  *
- *  Difference --- Returns a new Time object that represents the difference
+ *  Difference --- Returns a difference in seconds as a Float
  *  between _time_ and +other_time+, or subtracts the given number
  *  of seconds in +numeric+ from _time_.
  *

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

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