[DOC] Tweaks for String#downcase

This commit is contained in:
Burdette Lamar 2025-07-15 15:31:58 -05:00 committed by GitHub
parent b2ef33b3c5
commit 3cf32e9364
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 13 additions and 9 deletions

View file

@ -8181,15 +8181,7 @@ rb_str_downcase_bang(int argc, VALUE *argv, VALUE str)
* call-seq:
* downcase(mapping) -> string
*
* Returns a string containing the downcased characters in +self+:
*
* s = 'Hello World!' # => "Hello World!"
* s.downcase # => "hello world!"
*
* The casing may be affected by the given +mapping+;
* see {Case Mapping}[rdoc-ref:case_mapping.rdoc].
*
* Related: String#downcase!, String#upcase, String#upcase!.
* :include: doc/string/downcase.rdoc
*
*/