Manages the embedded CRuby runtime lifecycle, script evaluation,
library loading, and constant resolution.
Class methods
[](const_name :
String) :
Value Resolves a Ruby top-level constant (e.g. "Math", "JSON", "Net::HTTP")
Sourcecleanup
Gracefully cleans up and terminates the Ruby VM
SourceEvaluates a Ruby code snippet within the VM.
Raises Rubellite::Error if an exception occurs.
Sourceinit
Initializes the Ruby VM. Safe to call multiple times (idempotent).
Sourceinitialized?
Returns true if the Ruby VM has been initialized
SourceRequires a Ruby feature/gem. Returns true if loaded, false if already required.
Source