diff options
author | Burdette Lamar <BurdetteLamar@Yahoo.com> | 2022-04-01 20:41:04 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-01 20:41:04 -0500 |
commit | 81741690a0cc6a244821cf4c80030afa2bbc2565 (patch) | |
tree | 6a70f32e26557ff86ac2f9018c548b37a4708b4a /doc | |
parent | 6068da8937d7e4358943f95e7450dae7179a7763 (diff) |
[DOC] Main doc for encodings moved from encoding.c to doc/encodings.rdoc (#5748)
Main doc for encodings moved from encoding.c to doc/encodings.rdoc
Notes
Notes:
Merged-By: BurdetteLamar <BurdetteLamar@Yahoo.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/encodings.rdoc (renamed from doc/encoding.rdoc) | 2 | ||||
-rw-r--r-- | doc/string/new.rdoc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/encoding.rdoc b/doc/encodings.rdoc index acb0e3aa47..c61ab11e9a 100644 --- a/doc/encoding.rdoc +++ b/doc/encodings.rdoc @@ -1,4 +1,4 @@ -== \Encoding +== Encodings === The Basics diff --git a/doc/string/new.rdoc b/doc/string/new.rdoc index 3eee2b82e0..867f9c9c21 100644 --- a/doc/string/new.rdoc +++ b/doc/string/new.rdoc @@ -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 -Encoding@Script+encoding, unlike String.new. +{script encoding}[rdoc-ref:encodings.rdoc@Script+Encoding], unlike String.new. With keyword +encoding+, returns a copy of +str+ with the specified encoding: |