mirror of
https://github.com/ruby/ruby.git
synced 2026-01-26 20:19:19 +00:00
[DOC] Tweaks for String#rstrip!
This commit is contained in:
parent
17368234bf
commit
e930bd3eae
Notes:
git
2025-10-21 01:37:59 +00:00
8
string.c
8
string.c
@ -10409,10 +10409,12 @@ rstrip_offset(VALUE str, const char *s, const char *e, rb_encoding *enc)
|
||||
* call-seq:
|
||||
* rstrip! -> self or nil
|
||||
*
|
||||
* Like String#rstrip, except that any modifications are made in +self+;
|
||||
* returns +self+ if any modification are made, +nil+ otherwise.
|
||||
* Like String#rstrip, except that:
|
||||
*
|
||||
* Related: String#lstrip!, String#strip!.
|
||||
* - Performs stripping in +self+ (not in a copy of +self+).
|
||||
* - Returns +self+ if any characters are stripped, +nil+ otherwise.
|
||||
*
|
||||
* Related: see {Modifying}[rdoc-ref:String@Modifying].
|
||||
*/
|
||||
|
||||
static VALUE
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user