File tree Expand file tree Collapse file tree 1 file changed +4
-11
lines changed Expand file tree Collapse file tree 1 file changed +4
-11
lines changed Original file line number Diff line number Diff line change @@ -8146,19 +8146,12 @@ downcase_single(VALUE str)
8146
8146
* call-seq:
8147
8147
* downcase!(mapping) -> self or nil
8148
8148
*
8149
- * Downcases the characters in +self+;
8150
- * returns +self+ if any changes were made, +nil+ otherwise:
8151
- *
8152
- * s = 'Hello World!' # => "Hello World!"
8153
- * s.downcase! # => "hello world!"
8154
- * s # => "hello world!"
8155
- * s.downcase! # => nil
8149
+ * Like String#downcase, except that:
8156
8150
*
8157
- * The casing may be affected by the given +mapping+;
8158
- * see {Case Mapping}[rdoc-ref:case_mapping.rdoc].
8159
- *
8160
- * Related: String#downcase, String#upcase, String#upcase!.
8151
+ * - Changes character casings in +self+ (not in a copy of +self+).
8152
+ * - Returns +self+ if any changes are made, +nil+ otherwise.
8161
8153
*
8154
+ * Related: See {Modifying}[rdoc-ref:String@Modifying].
8162
8155
*/
8163
8156
8164
8157
static VALUE
You can’t perform that action at this time.
0 commit comments