Sandbox class of PicoRuby
Singleton methods
new
Sandbox.new(?String name) -> instance
Instance methods
compile
instance.compile(String script) -> bool
compile_from_memory
instance.compile_from_memory(Integer address, Integer size) -> bool
exec_mrb
instance.exec_mrb(String mrb) -> bool
exec_mrb_from_memory
instance.exec_mrb_from_memory(Integer address) -> bool
execute
instance.execute() -> bool
free_parser
instance.free_parser() -> nil
interrupt
instance.interrupt() -> void
load_file
instance.load_file(String path, ?signal: bool, ?join: bool) -> void
result
instance.result() -> untyped
state
instance.state() -> Integer
suspend
instance.suspend() -> nil
terminate
instance.terminate() -> nil
wait
instance.wait(?timeout: (Integer|nil), ?signal: bool) -> bool
Attr accessors
error (accessor)
instance.error -> Exception?