diff options
author | Nobuyoshi Nakada <[email protected]> | 2022-02-11 10:30:28 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2022-02-12 12:38:36 +0900 |
commit | 50c972a1ae1b15b292f45e78ff3227644f3cabda (patch) | |
tree | 294a94a2e5ba8326a3a313293e319458a7010e28 /range.c | |
parent | e6b537e605381b6f1c9518adbeb6813c5e579df7 (diff) |
[DOC] Simplify operator method references
Diffstat (limited to 'range.c')
-rw-r--r-- | range.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -2171,7 +2171,7 @@ range_count(int argc, VALUE *argv, VALUE range) * * A user-defined class that is to be used in a range * must implement instance <tt><=></tt>; - * see {Integer#<=>}[Integer.html#method-i-3C-3D-3E]. + * see Integer#<=>. * To make iteration available, it must also implement * instance method +succ+; see Integer#succ. * @@ -2243,8 +2243,7 @@ range_count(int argc, VALUE *argv, VALUE range) * * === Methods for Comparing * - * - {#==}[#method-i-3D-3D]:: Returns whether a given object is equal to +self+ - * (uses #==). + * - #==:: Returns whether a given object is equal to +self+ (uses #==). * - #===:: Returns whether the given object is between the begin and end values. * - #cover?:: Returns whether a given object is within +self+. * - #eql?:: Returns whether a given object is equal to +self+ (uses #eql?). |