зеркало из https://github.com/github/ruby.git
[DOC] Fix link
This commit is contained in:
Родитель
5df574d26e
Коммит
07a0aa9be6
|
@ -212,7 +212,7 @@ Method Regexp.escape returns an escaped string:
|
|||
=== Source Literals
|
||||
|
||||
The source literal largely behaves like a double-quoted string;
|
||||
see {String Literals}[rdoc-ref:syntax/literals.rdoc@String+Literals].
|
||||
see {Double-Quoted String Literals}[rdoc-ref:syntax/literals.rdoc@Double-Quoted+String+Literals].
|
||||
|
||||
In particular, a source literal may contain interpolated expressions:
|
||||
|
||||
|
|
|
@ -178,7 +178,7 @@ sequences are as follows:
|
|||
The last one, <tt>\<newline></tt>, represents an empty string instead of a character.
|
||||
It is used to fold a line in a string.
|
||||
|
||||
=== Double-quoted \String Literals
|
||||
=== Double-Quoted \String Literals
|
||||
|
||||
The most common way of writing strings is using <tt>"</tt>:
|
||||
|
||||
|
@ -213,7 +213,7 @@ See also:
|
|||
|
||||
* {% and %Q: Interpolable String Literals}[#label-25+and+-25Q-3A+Interpolable+String+Literals]
|
||||
|
||||
=== Single-quoted \String Literals
|
||||
=== Single-Quoted \String Literals
|
||||
|
||||
Interpolation may be disabled by escaping the "#" character or using
|
||||
single-quoted strings:
|
||||
|
|
Загрузка…
Ссылка в новой задаче