diff options
author | BurdetteLamar <[email protected]> | 2025-07-14 12:03:05 -0500 |
---|---|---|
committer | Peter Zhu <[email protected]> | 2025-07-15 14:13:17 -0400 |
commit | be38cb92d59cf654906ab2d32235348b97a606a4 (patch) | |
tree | a4869eb20ee0d56c8d401befbd6b2e9bf9fe92c9 | |
parent | 2899ff172c80ec0ba4797f9d6d566e1b92000ae9 (diff) |
-rw-r--r-- | string.c | 15 |
1 files changed, 4 insertions, 11 deletions
@@ -8146,19 +8146,12 @@ downcase_single(VALUE str) * call-seq: * downcase!(mapping) -> self or nil * - * Downcases the characters in +self+; - * returns +self+ if any changes were made, +nil+ otherwise: - * - * s = 'Hello World!' # => "Hello World!" - * s.downcase! # => "hello world!" - * s # => "hello world!" - * s.downcase! # => nil + * Like String#downcase, except that: * - * The casing may be affected by the given +mapping+; - * see {Case Mapping}[rdoc-ref:case_mapping.rdoc]. - * - * Related: String#downcase, String#upcase, String#upcase!. + * - Changes character casings in +self+ (not in a copy of +self+). + * - Returns +self+ if any changes are made, +nil+ otherwise. * + * Related: See {Modifying}[rdoc-ref:String@Modifying]. */ static VALUE |