diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-02-08 01:39:37 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-02-08 01:39:37 +0900 |
commit | 8ca7b0b68aaff46ad88638f95b26429fee02d04a (patch) | |
tree | 0fc047f41de38f018aab792ef41b579f96a093dd | |
parent | 07bf65858d8dd5acc11c6bddb370735466690b47 (diff) | |
download | ruby-8ca7b0b68aaff46ad88638f95b26429fee02d04a.tar.gz |
[DOC] Fix broken links to operator methods
Once https://github.com/ruby/rdoc/pull/865 is merged, these hacks
are no longer needed.
-rw-r--r-- | range.c | 2 | ||||
-rw-r--r-- | string.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -2168,7 +2168,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#label-method-i-3C-3D-3E]. + * see {Integer#<=>}[Integer.html#method-i-3C-3D-3E]. * To make iteration available, it must also implement * instance method +succ+; see Integer#succ. * @@ -4188,7 +4188,7 @@ rb_str_rindex_m(int argc, VALUE *argv, VALUE str) * returned by <tt>object =~ self</tt>. * * Note that <tt>string =~ regexp</tt> is different from <tt>regexp =~ string</tt> - * (see {Regexp#=~}[https://ruby-doc.org/core-2.7.1/Regexp.html#method-i-3D-7E]): + * (see {Regexp#=~}[Regexp.html#method-i-3D~]): * * number= nil * "no. 9" =~ /(?<number>\d+)/ |