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
|
@ -44,7 +44,7 @@ class String
|
|||
# t.encoding # => #<Encoding:UTF-8>
|
||||
#
|
||||
# Optional keyword arguments +enc_opts+ specify encoding options;
|
||||
# see {Encoding Options}[rdoc-ref:encoding.rdoc@Encoding+Options].
|
||||
# see {Encoding Options}[rdoc-ref:Encoding@Encoding+Options].
|
||||
def encode(dst_encoding = Encoding.default_internal, **enc_opts)
|
||||
# Pseudo code
|
||||
Primitive.str_encode(...)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue