From 1adcc41b94d49899b1809fba119f74501fc992b1 Mon Sep 17 00:00:00 2001 From: Peter Zhu Date: Tue, 10 Sep 2024 13:15:49 -0400 Subject: [PATCH] [DOC] What's Here for String#append_as_bytes String#append_as_bytes was newly introduced in #11552. --- string.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/string.rb b/string.rb index ccc6e3f0cb..1f0e9ceace 100644 --- a/string.rb +++ b/string.rb @@ -382,6 +382,8 @@ # # - #insert: Returns +self+ with a given string inserted at a given offset. # - #<<: Returns +self+ concatenated with a given string or integer. +# - #append_as_bytes: Returns +self+ concatenated with strings without performing any +# encoding validation or conversion. # # _Substitution_ #