mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[DOC] Fix broken links to encodings.rdoc
Also prefers class name based references than file name based references.
This commit is contained in:
parent
010d92e93d
commit
729b9a8543
3 changed files with 13 additions and 13 deletions
|
|
@ -12,7 +12,7 @@ with the same encoding as +string+:
|
|||
s.encoding # => #<Encoding:UTF-8>
|
||||
|
||||
Literal strings like <tt>""</tt> 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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue