[DOC] Specify the unit of return value for Time#-
This commit is contained in:
parent
5a40f7db54
commit
089227e948
Notes:
git
2023-08-16 13:51:38 +00:00
Merged: https://github.com/ruby/ruby/pull/8217 Merged-By: nobu <nobu@ruby-lang.org>
2
time.c
2
time.c
@ -4410,7 +4410,7 @@ time_plus(VALUE time1, VALUE time2)
|
|||||||
*
|
*
|
||||||
* When +other_time+ is given,
|
* When +other_time+ is given,
|
||||||
* returns a Float whose value is the difference
|
* returns a Float whose value is the difference
|
||||||
* of the numeric values of +self+ and +other_time+:
|
* of the numeric values of +self+ and +other_time+ in seconds:
|
||||||
*
|
*
|
||||||
* t - t # => 0.0
|
* t - t # => 0.0
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user