[DOC] Tweaks for String#delete_suffix! (#13872)

This commit is contained in:
Burdette Lamar 2025-07-14 09:05:00 -05:00 committed by GitHub
parent 07a3ab53a2
commit 64d4e7727e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 2 deletions

View file

@ -428,6 +428,7 @@
# - #squeeze!: Removes contiguous duplicate characters; returns +self+.
# - #delete!: Removes characters as determined by the intersection of substring arguments.
# - #delete_prefix!: Removes leading prefix; returns +self+ if any changes, +nil+ otherwise.
# - #delete_suffix!: Removes trailing suffix; returns +self+ if any changes, +nil+ otherwise.
# - #lstrip!: Removes leading whitespace; returns +self+ if any changes, +nil+ otherwise.
# - #rstrip!: Removes trailing whitespace; returns +self+ if any changes, +nil+ otherwise.
# - #strip!: Removes leading and trailing whitespace; returns +self+ if any changes, +nil+ otherwise.