[DOC] Fix broken links to literals.rdoc

This commit is contained in:
Nobuyoshi Nakada 2022-02-08 01:26:39 +09:00
Родитель bc5662d9d8
Коммит 16fdc1ff46
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 7CD2805BFA3770C6
9 изменённых файлов: 13 добавлений и 13 удалений

Просмотреть файл

@ -7845,7 +7845,7 @@ rb_ary_deconstruct(VALUE ary)
*
* You can create an \Array object explicitly with:
*
* - An {array literal}[doc/syntax/literals_rdoc.html#label-Array+Literals].
* - An {array literal}[rdoc-ref:syntax/literals.rdoc@Array+Literals].
*
* You can convert certain objects to Arrays with:
*

Просмотреть файл

@ -2269,7 +2269,7 @@ float_arg(VALUE self)
*
* You can create a \Complex object explicitly with:
*
* - A {complex literal}[doc/syntax/literals_rdoc.html#label-Complex+Literals].
* - A {complex literal}[rdoc-ref:syntax/literals.rdoc@Complex+Literals].
*
* You can convert certain objects to \Complex objects with:
*

2
hash.c
Просмотреть файл

@ -6746,7 +6746,7 @@ static const rb_data_type_t env_data_type = {
*
* You can create a \Hash object explicitly with:
*
* - A {hash literal}[doc/syntax/literals_rdoc.html#label-Hash+Literals].
* - A {hash literal}[rdoc-ref:syntax/literals.rdoc@Hash+Literals].
*
* You can convert certain objects to Hashes with:
*

Просмотреть файл

@ -948,7 +948,7 @@ num_negative_p(VALUE num)
*
* You can create a \Float object explicitly with:
*
* - A {floating-point literal}[doc/syntax/literals_rdoc.html#label-Float+Literals].
* - A {floating-point literal}[rdoc-ref:syntax/literals.rdoc@Float+Literals].
*
* You can convert certain objects to Floats with:
*
@ -3482,7 +3482,7 @@ rb_num2ull(VALUE val)
*
* You can create an \Integer object explicitly with:
*
* - An {integer literal}[doc/syntax/literals_rdoc.html#label-Integer+Literals].
* - An {integer literal}[rdoc-ref:syntax/literals.rdoc@Integer+Literals].
*
* You can convert certain objects to Integers with:
*

2
proc.c
Просмотреть файл

@ -3972,7 +3972,7 @@ proc_ruby2_keywords(VALUE procval)
*
* lambda1 = lambda {|x| x**2 }
*
* * Use the {Lambda proc literal}[doc/syntax/literals_rdoc.html#label-Lambda+Proc+Literals] syntax
* * Use the {Lambda proc literal}[rdoc-ref:syntax/literals.rdoc@Lambda+Proc+Literals] syntax
* (also constructs a proc with lambda semantics):
*
* lambda2 = ->(x) { x**2 }

Просмотреть файл

@ -2052,7 +2052,7 @@ range_count(int argc, VALUE *argv, VALUE range)
*
* You can create an \Range object explicitly with:
*
* - A {range literal}[doc/syntax/literals_rdoc.html#label-Range+Literals]:
* - A {range literal}[rdoc-ref:syntax/literals.rdoc@Range+Literals]:
*
* # Ranges that use '..' to include the given end value.
* (1..4).to_a # => [1, 2, 3, 4]

Просмотреть файл

@ -2717,7 +2717,7 @@ nurat_s_convert(int argc, VALUE *argv, VALUE klass)
*
* You can create a \Rational object explicitly with:
*
* - A {rational literal}[doc/syntax/literals_rdoc.html#label-Rational+Literals].
* - A {rational literal}[rdoc-ref:syntax/literals.rdoc@Rational+Literals].
*
* You can convert certain objects to Rationals with:
*

2
re.c
Просмотреть файл

@ -4081,7 +4081,7 @@ re_warn(const char *s)
*
* You can create a \Regexp object explicitly with:
*
* - A {regexp literal}[doc/syntax/literals_rdoc.html#label-Regexp+Literals].
* - A {regexp literal}[rdoc-ref:syntax/literals.rdoc@Regexp+Literals].
*
* :include: doc/regexp.rdoc
*/

Просмотреть файл

@ -11234,7 +11234,7 @@ rb_str_unicode_normalized_p(int argc, VALUE *argv, VALUE str)
*
* You can create a \Symbol object explicitly with:
*
* - A {symbol literal}[doc/syntax/literals_rdoc.html#label-Symbol+Literals].
* - A {symbol literal}[rdoc-ref:syntax/literals.rdoc@Symbol+Literals].
*
* The same Symbol object will be
* created for a given name or string for the duration of a program's
@ -11960,8 +11960,8 @@ rb_enc_interned_str_cstr(const char *ptr, rb_encoding *enc)
*
* You can create a \String object explicitly with:
*
* - A {string literal}[doc/syntax/literals_rdoc.html#label-String+Literals].
* - A {heredoc literal}[doc/syntax/literals_rdoc.html#label-Here+Document+Literals].
* - A {string literal}[rdoc-ref:syntax/literals.rdoc@String+Literals].
* - A {heredoc literal}[rdoc-ref:syntax/literals.rdoc@Here+Document+Literals].
*
* You can convert certain objects to Strings with:
*
@ -12051,7 +12051,7 @@ rb_enc_interned_str_cstr(const char *ptr, rb_encoding *enc)
* Note that <tt>\\\\</tt> is interpreted as an escape, i.e., a single backslash.
*
* Note also that a string literal consumes backslashes.
* See {String Literals}[doc/syntax/literals_rdoc.html#label-String+Literals] for details about string literals.
* See {String Literals}[rdoc-ref:syntax/literals.rdoc@String+Literals] for details about string literals.
*
* A back-reference is typically preceded by an additional backslash.
* For example, if you want to write a back-reference <tt>\&</tt> in