aboutsummaryrefslogtreecommitdiffstats
path: root/timev.rb
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2022-02-11 10:30:28 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2022-02-12 12:38:36 +0900
commit50c972a1ae1b15b292f45e78ff3227644f3cabda (patch)
tree294a94a2e5ba8326a3a313293e319458a7010e28 /timev.rb
parente6b537e605381b6f1c9518adbeb6813c5e579df7 (diff)
downloadruby-50c972a1ae1b15b292f45e78ff3227644f3cabda.tar.gz
[DOC] Simplify operator method references
Diffstat (limited to 'timev.rb')
-rw-r--r--timev.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/timev.rb b/timev.rb
index 892740c5a2..a570f047c5 100644
--- a/timev.rb
+++ b/timev.rb
@@ -117,8 +117,7 @@
# - ::at: Returns a new time based on seconds since epoch.
# - ::now: Returns a new time based on the current system time.
# - #+ (plus): Returns a new time increased by the given number of seconds.
-# - {-}[#method-i-2D] (minus): Returns a new time
-# decreased by the given number of seconds.
+# - #- (minus): Returns a new time decreased by the given number of seconds.
#
# === Methods for Fetching
#
@@ -158,7 +157,7 @@
#
# === Methods for Comparing
#
-# - {#<=>}[#method-i-3C-3D-3E]: Compares +self+ to another time.
+# - #<=>: Compares +self+ to another time.
# - #eql?: Returns whether the time is equal to another time.
#
# === Methods for Converting