We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e0b9f5b commit 26f5deeCopy full SHA for 26f5dee
src/main/ruby/truffleruby/core/truffle/polyglot.rb
@@ -426,12 +426,12 @@ def to_str
426
Primitive.foreign_string_to_ruby_string(self)
427
end
428
429
- # TruffleString and java.lang.String are both immutable
+ # asTruffleString() and asString() are both immutable and the only way to access a foreign string (isString())
430
def freeze
431
self
432
433
434
435
def frozen?
436
true
437
0 commit comments