diff options
| author | Burdette Lamar <BurdetteLamar@Yahoo.com> | 2025-10-21 15:44:03 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-21 16:44:03 -0400 |
| commit | caff9b9065750ec74e4fc6b3d222e7ab780fb1e0 (patch) | |
| tree | 632d1bda450135434c9b73d941f9ff5ba0d651ba /string.c | |
| parent | 3b87e76cc6a2ab7f6e625953b0954edfb9e5c647 (diff) | |
[DOC] Tweaks for String#rstrip (#14881)
Diffstat (limited to 'string.c')
| -rw-r--r-- | string.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -10443,7 +10443,7 @@ rb_str_rstrip_bang(VALUE str) * call-seq: * rstrip -> new_string * - * Returns a copy of the receiver with trailing whitespace removed; + * Returns a copy of +self+ with trailing whitespace removed; * see {Whitespace in Strings}[rdoc-ref:String@Whitespace+in+Strings]: * * whitespace = "\x00\t\n\v\f\r " @@ -10451,7 +10451,7 @@ rb_str_rstrip_bang(VALUE str) * s # => "\u0000\t\n\v\f\r abc\u0000\t\n\v\f\r " * s.rstrip # => "\u0000\t\n\v\f\r abc" * - * Related: String#lstrip, String#strip. + * Related: see {Converting to New String}[rdoc-ref:String@Converting+to+New+String]. */ static VALUE |
