diff options
| author | Berkan Ünal <32255826+brkn@users.noreply.github.com> | 2025-12-02 01:02:03 +0300 |
|---|---|---|
| committer | git <svn-admin@ruby-lang.org> | 2025-12-01 22:02:40 +0000 |
| commit | e68fcf111b48a25ccf465e7acef13e4e145bcfb6 (patch) | |
| tree | 67e4cc09b1eae6e0dc5d266b3ec3164e9bd28e29 | |
| parent | a8b49ab48703dfb8862ca28a443da0e764d692c6 (diff) | |
[ruby/strscan] [DOC] Fix broken link to helper methods
(https://github.com/ruby/strscan/pull/179)
### Helper methods link is broken at master branch
To reproduce
1. go to [StringScanner
docs](https://docs.ruby-lang.org/en/master/StringScanner.html)
2. Click to link at line
> See examples at **helper_methods**
3. Resolved url gives 404:
https://docs.ruby-lang.org/en/master/strscan/helper_methods_md.html
### Fix
Currently link resolves as `href="doc/strscan/helper_methods_md.html"`
Correct link should be resolved as `href="helper_methods_md.html"`
https://github.com/ruby/strscan/commit/adb8678aa6
| -rw-r--r-- | doc/strscan/strscan.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/strscan/strscan.md b/doc/strscan/strscan.md index c0bf541362..c4ab203462 100644 --- a/doc/strscan/strscan.md +++ b/doc/strscan/strscan.md @@ -37,7 +37,7 @@ Some examples here assume that certain helper methods are defined: - `match_values_cleared?(scanner)`: Returns whether the scanner's [match values][9] are cleared. -See examples at [helper methods](doc/strscan/helper_methods.md). +See examples at [helper methods](helper_methods.md). ## The `StringScanner` \Object |
