mruby-string-ext (append_as_bytes): new method introduced by CRuby 3.4

Since mruby does not have Encoding support, append_as_bytes works
exactly same as String#concat.
This commit is contained in:
Yukihiro "Matz" Matsumoto
2024-12-31 20:04:54 +09:00
parent 9f59d26c35
commit 85df487e63
@@ -439,6 +439,8 @@ class String
self
end
alias append_as_bytes concat
def __upto_endless(&block)
len = self.length
# both edges are all digits