зеркало из https://github.com/github/ruby.git
[DOC] Fix broken links to case_mapping.rdoc
This commit is contained in:
Родитель
16fdc1ff46
Коммит
07bf65858d
22
string.c
22
string.c
|
@ -3707,7 +3707,7 @@ static VALUE str_casecmp_p(VALUE str1, VALUE str2);
|
|||
* 'foo'.casecmp('FOO') # => 0
|
||||
* 'foo'.casecmp(1) # => nil
|
||||
*
|
||||
* See {Case Mapping}[doc/case_mapping_rdoc.html].
|
||||
* See {Case Mapping}[rdoc-ref:case_mapping.rdoc].
|
||||
*
|
||||
* Related: String#casecmp?.
|
||||
*
|
||||
|
@ -3797,7 +3797,7 @@ str_casecmp(VALUE str1, VALUE str2)
|
|||
*
|
||||
* 'foo'.casecmp?(1) # => nil
|
||||
*
|
||||
* See {Case Mapping}[doc/case_mapping_rdoc.html].
|
||||
* See {Case Mapping}[rdoc-ref:case_mapping.rdoc].
|
||||
*
|
||||
* Related: String#casecmp.
|
||||
*
|
||||
|
@ -7170,7 +7170,7 @@ upcase_single(VALUE str)
|
|||
* s.upcase! # => nil
|
||||
*
|
||||
* The casing may be affected by the given +options+;
|
||||
* see {Case Mapping}[doc/case_mapping_rdoc.html].
|
||||
* see {Case Mapping}[rdoc-ref:case_mapping.rdoc].
|
||||
*
|
||||
* Related: String#upcase, String#downcase, String#downcase!.
|
||||
*
|
||||
|
@ -7209,7 +7209,7 @@ rb_str_upcase_bang(int argc, VALUE *argv, VALUE str)
|
|||
* s.upcase # => "HELLO WORLD!"
|
||||
*
|
||||
* The casing may be affected by the given +options+;
|
||||
* see {Case Mapping}[doc/case_mapping_rdoc.html].
|
||||
* see {Case Mapping}[rdoc-ref:case_mapping.rdoc].
|
||||
*
|
||||
* Related: String#upcase!, String#downcase, String#downcase!.
|
||||
*
|
||||
|
@ -7272,7 +7272,7 @@ downcase_single(VALUE str)
|
|||
* s.downcase! # => nil
|
||||
*
|
||||
* The casing may be affected by the given +options+;
|
||||
* see {Case Mapping}[doc/case_mapping_rdoc.html].
|
||||
* see {Case Mapping}[rdoc-ref:case_mapping.rdoc].
|
||||
*
|
||||
* Related: String#downcase, String#upcase, String#upcase!.
|
||||
*
|
||||
|
@ -7311,7 +7311,7 @@ rb_str_downcase_bang(int argc, VALUE *argv, VALUE str)
|
|||
* s.downcase # => "hello world!"
|
||||
*
|
||||
* The casing may be affected by the given +options+;
|
||||
* see {Case Mapping}[doc/case_mapping_rdoc.html].
|
||||
* see {Case Mapping}[rdoc-ref:case_mapping.rdoc].
|
||||
*
|
||||
* Related: String#downcase!, String#upcase, String#upcase!.
|
||||
*
|
||||
|
@ -7357,7 +7357,7 @@ rb_str_downcase(int argc, VALUE *argv, VALUE str)
|
|||
* s.capitalize! # => nil
|
||||
*
|
||||
* The casing may be affected by the given +options+;
|
||||
* see {Case Mapping}[doc/case_mapping_rdoc.html].
|
||||
* see {Case Mapping}[rdoc-ref:case_mapping.rdoc].
|
||||
*
|
||||
* Related: String#capitalize.
|
||||
*
|
||||
|
@ -7395,7 +7395,7 @@ rb_str_capitalize_bang(int argc, VALUE *argv, VALUE str)
|
|||
* s.capitalize # => "Hello world!"
|
||||
*
|
||||
* The casing may be affected by the given +options+;
|
||||
* see {Case Mapping}[doc/case_mapping_rdoc.html].
|
||||
* see {Case Mapping}[rdoc-ref:case_mapping.rdoc].
|
||||
*
|
||||
* Related: String#capitalize!.
|
||||
*
|
||||
|
@ -7436,7 +7436,7 @@ rb_str_capitalize(int argc, VALUE *argv, VALUE str)
|
|||
* ''.swapcase! # => nil
|
||||
*
|
||||
* The casing may be affected by the given +options+;
|
||||
* see {Case Mapping}[doc/case_mapping_rdoc.html].
|
||||
* see {Case Mapping}[rdoc-ref:case_mapping.rdoc].
|
||||
*
|
||||
* Related: String#swapcase.
|
||||
*
|
||||
|
@ -7473,7 +7473,7 @@ rb_str_swapcase_bang(int argc, VALUE *argv, VALUE str)
|
|||
* s.swapcase # => "hELLO wORLD!"
|
||||
*
|
||||
* The casing may be affected by the given +options+;
|
||||
* see {Case Mapping}[doc/case_mapping_rdoc.html].
|
||||
* see {Case Mapping}[rdoc-ref:case_mapping.rdoc].
|
||||
*
|
||||
* Related: String#swapcase!.
|
||||
*
|
||||
|
@ -11640,7 +11640,7 @@ sym_casecmp(VALUE sym, VALUE other)
|
|||
* sym.casecmp?(other_sym) # => nil
|
||||
* :foo.casecmp?(2) # => nil
|
||||
*
|
||||
* See {Case Mapping}[doc/case_mapping_rdoc.html].
|
||||
* See {Case Mapping}[rdoc-ref:case_mapping.rdoc].
|
||||
*
|
||||
* Related: Symbol#casecmp.
|
||||
*
|
||||
|
|
Загрузка…
Ссылка в новой задаче