mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user