[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
This commit is contained in:
Berkan Ünal 2025-12-02 01:02:03 +03:00 committed by git
parent a8b49ab487
commit e68fcf111b

View File

@ -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