File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 428
428
# - #squeeze!: Removes contiguous duplicate characters; returns +self+.
429
429
# - #delete!: Removes characters as determined by the intersection of substring arguments.
430
430
# - #delete_prefix!: Removes leading prefix; returns +self+ if any changes, +nil+ otherwise.
431
+ # - #delete_suffix!: Removes trailing suffix; returns +self+ if any changes, +nil+ otherwise.
431
432
# - #lstrip!: Removes leading whitespace; returns +self+ if any changes, +nil+ otherwise.
432
433
# - #rstrip!: Removes trailing whitespace; returns +self+ if any changes, +nil+ otherwise.
433
434
# - #strip!: Removes leading and trailing whitespace; returns +self+ if any changes, +nil+ otherwise.
Original file line number Diff line number Diff line change @@ -11376,9 +11376,10 @@ deleted_suffix_length(VALUE str, VALUE suffix)
11376
11376
* call-seq:
11377
11377
* delete_suffix!(suffix) -> self or nil
11378
11378
*
11379
- * Like String#delete_suffix, except that +self+ is modified in place.
11380
- * Returns +self+ if the suffix is removed, +nil+ otherwise.
11379
+ * Like String#delete_suffix, except that +self+ is modified in place;
11380
+ * returns +self+ if the suffix is removed, +nil+ otherwise.
11381
11381
*
11382
+ * Related: see {Modifying}[rdoc-ref:String@Modifying].
11382
11383
*/
11383
11384
11384
11385
static VALUE
You can’t perform that action at this time.
0 commit comments