1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[DOC] Fix the pseudo code

This commit is contained in:
Nobuyoshi Nakada 2022-02-26 16:32:46 +09:00
parent 62c1583353
commit 0be2049a89
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6

View file

@ -45,6 +45,6 @@ class String
# see {Encoding Options}[rdoc-ref:encoding.rdoc@Encoding+Options].
def encode(dst_encoding = Encoding.default_internal, **enc_opts)
# Pseudo code
Builtin.str_transcode!(...)
Primitive.str_encode(...)
end
end