From 729b9a85439d5cec7b73f8c0c41c4377e6ce304c Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Sat, 2 Apr 2022 15:05:03 +0900 Subject: [DOC] Fix broken links to encodings.rdoc Also prefers class name based references than file name based references. --- doc/string/new.rdoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/string') diff --git a/doc/string/new.rdoc b/doc/string/new.rdoc index 867f9c9c21..b8dac00856 100644 --- a/doc/string/new.rdoc +++ b/doc/string/new.rdoc @@ -12,7 +12,7 @@ with the same encoding as +string+: s.encoding # => # Literal strings like "" or here-documents always use -{script encoding}[rdoc-ref:encodings.rdoc@Script+Encoding], unlike String.new. +{script encoding}[rdoc-ref:Encoding@Script+Encoding], unlike String.new. With keyword +encoding+, returns a copy of +str+ with the specified encoding: -- cgit v1.2.3