Module: Truffle::Runtime
- Defined in:
- truffle/src/main/ruby/core/truffle/runtime.rb
Overview
Information about the Truffle runtime system and utilities for interacting with it.
Class Method Summary (collapse)
-
+ (nil) debug_print(string)
Print a String directly to stderr without going through the normal Ruby and runtime IO systems.
-
+ (String) dump_string(string)
Dump a string as a String of escaped literal bytes.
-
+ (String) java_class_of(object)
Return the name of the Java class used to represent this object, as a String.
Class Method Details
+ (nil) debug_print(string)
Print a String directly to stderr without going through the normal Ruby and runtime IO systems.
31 32 33 |
# File 'truffle/src/main/ruby/core/truffle/runtime.rb', line 31 def self.debug_print(string) Truffle::Primitive.debug_print string end |
+ (String) dump_string(string)
Dump a string as a String of escaped literal bytes.
24 25 26 |
# File 'truffle/src/main/ruby/core/truffle/runtime.rb', line 24 def self.dump_string(string) Truffle::Primitive.dump_string(string) end |
+ (String) java_class_of(object)
Return the name of the Java class used to represent this object, as a String.
18 19 20 |
# File 'truffle/src/main/ruby/core/truffle/runtime.rb', line 18 def self.java_class_of(object) Truffle::Primitive.java_class_of(object) end |