Skip to content

Commit 0227ad0

Browse files
BurdetteLamarpeterzhu2118
authored andcommitted
[DOC] Tweaks for String#strip!
1 parent 8b0d405 commit 0227ad0

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

string.c

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10482,10 +10482,12 @@ rb_str_rstrip(VALUE str)
1048210482
* call-seq:
1048310483
* strip! -> self or nil
1048410484
*
10485-
* Like String#strip, except that any modifications are made in +self+;
10486-
* returns +self+ if any modification are made, +nil+ otherwise.
10485+
* Like String#strip, except that:
1048710486
*
10488-
* Related: String#lstrip!, String#strip!.
10487+
* - Any modifications are made to +self+.
10488+
* - Returns +self+ if any modification are made, +nil+ otherwise.
10489+
*
10490+
* Related: see {Modifying}[rdoc-ref:String@Modifying].
1048910491
*/
1049010492

1049110493
static VALUE

0 commit comments

Comments
 (0)