summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorBurdetteLamar <burdettelamar@yahoo.com>2025-12-05 16:07:45 +0000
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2025-12-10 15:16:39 +0900
commit668fe01182df185c3592061e22087b6454132fec (patch)
treeffd5e9a529edd29454c617ccf284d303b2ad037d /doc
parent842f91aec09e419481af6358657e06973f2410c2 (diff)
[ruby/stringio] [DOC] Fix link
https://github.com/ruby/stringio/commit/e2d24ae8d7
Diffstat (limited to 'doc')
-rw-r--r--doc/stringio/stringio.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/stringio/stringio.md b/doc/stringio/stringio.md
index aebfa6d6f1..8931d1c30c 100644
--- a/doc/stringio/stringio.md
+++ b/doc/stringio/stringio.md
@@ -324,7 +324,7 @@ a binary stream may not be changed to text.
### Encodings
-A stream has an encoding; see the [encodings document][encodings document].
+A stream has an encoding; see [Encodings][encodings document].
The initial encoding for a new or re-opened stream depends on its [data mode][data mode]:
@@ -683,7 +683,7 @@ Reading:
- #each_codepoint: reads each remaining codepoint, passing it to the block.
[bom]: https://en.wikipedia.org/wiki/Byte_order_mark
-[encodings document]: https://docs.ruby-lang.org/en/master/encodings_rdoc.html
+[encodings document]: https://docs.ruby-lang.org/en/master/language/encodings_rdoc.html
[io class]: https://docs.ruby-lang.org/en/master/IO.html
[kernel#puts]: https://docs.ruby-lang.org/en/master/Kernel.html#method-i-puts
[kernel#readline]: https://docs.ruby-lang.org/en/master/Kernel.html#method-i-readline