class Anyolite::RbInterpreter
- Anyolite::RbInterpreter
- Reference
- Object
Overview
Wrapper for an mruby state reference
NOTE Do not create more than one at a time!
Defined in:
RbInterpreter.crConstructors
Class Method Summary
Instance Method Summary
- #close
- #define_class_method(name : String, c : RbClass | RbModule, proc : RbCore::RbFunc)
-
#define_method(name : String, c : RbClass | RbModule, proc : RbCore::RbFunc)
TODO Use internal mruby arg count in future versions
- #define_module_function(name : String, mod : RbModule | RbClass, proc : RbCore::RbFunc)
- #depth : UInt32
- #depth=(depth : UInt32)
- #execute_bytecode(bytecode : Array(UInt8))
- #execute_script_line(str : String, clear_error : Bool = true)
- #load_bytecode_from_file(filename : String)
- #load_script_from_file(filename : String)
- #to_unsafe
Constructor Detail
Class Method Detail
Instance Method Detail
TODO Use internal mruby arg count in future versions