summaryrefslogtreecommitdiff
path: root/time.c
diff options
context:
space:
mode:
authoreregon <eregon@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-09-14 14:54:29 +0000
committereregon <eregon@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-09-14 14:54:29 +0000
commit3efe410dd0812a3781b9f75a52d67a632009b2d2 (patch)
treee3fa274d38b22a54a1ea5554c543f9770ef6d9d4 /time.c
parent6617c41292b7d1e097abb8fdb0cab9ddd83c77e7 (diff)
time.c (Time#-): Fix documentation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59908 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'time.c')
-rw-r--r--time.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/time.c b/time.c
index 2314aca662..e55628fc1b 100644
--- a/time.c
+++ b/time.c
@@ -3650,7 +3650,7 @@ time_plus(VALUE time1, VALUE time2)
* 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_.
*