diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-02-11 10:30:28 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-02-12 12:38:36 +0900 |
commit | 50c972a1ae1b15b292f45e78ff3227644f3cabda (patch) | |
tree | 294a94a2e5ba8326a3a313293e319458a7010e28 /timev.rb | |
parent | e6b537e605381b6f1c9518adbeb6813c5e579df7 (diff) |
[DOC] Simplify operator method references
Diffstat (limited to 'timev.rb')
-rw-r--r-- | timev.rb | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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 |