Sandbox class of PicoRuby

Singleton methods

new

Sandbox.new(?bool suppress_error) -> instance

Instance methods

compile

instance.compile(String) -> bool

exec_mrb

instance.exec_mrb(String) -> bool

execute

instance.execute() -> bool

free_parser

instance.free_parser() -> void

interrupt

instance.interrupt() -> void

load_file

instance.load_file(String path, ?signal: bool) -> void

result

instance.result() -> untyped

state

instance.state() -> Integer

suspend

instance.suspend() -> void

wait

instance.wait(?timeout: (Integer|nil), ?signal: bool) -> bool

Attr accessors

error (accessor)

instance.error -> Exception?
Tags: