diff options
| author | BurdetteLamar <burdettelamar@yahoo.com> | 2025-10-23 21:34:55 +0100 |
|---|---|---|
| committer | Peter Zhu <peter@peterzhu.ca> | 2025-10-23 18:12:59 -0400 |
| commit | 0227ad07a41eea95349a9f26946dbf00291da17f (patch) | |
| tree | 598ba4c4b2d24173b0292f0ed8caec98eb022b54 | |
| parent | 8b0d405337781205412f7eb8fd7d3ae684f3469a (diff) | |
[DOC] Tweaks for String#strip!
| -rw-r--r-- | string.c | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -10482,10 +10482,12 @@ rb_str_rstrip(VALUE str) * call-seq: * strip! -> self or nil * - * Like String#strip, except that any modifications are made in +self+; - * returns +self+ if any modification are made, +nil+ otherwise. + * Like String#strip, except that: * - * Related: String#lstrip!, String#strip!. + * - Any modifications are made to +self+. + * - Returns +self+ if any modification are made, +nil+ otherwise. + * + * Related: see {Modifying}[rdoc-ref:String@Modifying]. */ static VALUE |
