From 64d4e7727e650809cc29a874d4e4156964641ceb Mon Sep 17 00:00:00 2001 From: Burdette Lamar Date: Mon, 14 Jul 2025 09:05:00 -0500 Subject: [DOC] Tweaks for String#delete_suffix! (#13872) --- doc/string.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'doc') diff --git a/doc/string.rb b/doc/string.rb index a9bff32c1a..d68b40743b 100644 --- a/doc/string.rb +++ b/doc/string.rb @@ -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. -- cgit v1.2.3