Function artichoke::ruby::run

source ·
pub fn run<R, W>(
    args: Args,
    input: R,
    error: W
) -> Result<ExecutionResult, Box<dyn Error>>
where R: Read, W: Write + WriteColor,
Expand description

Main entry point for Artichoke’s version of the ruby CLI.

This entry point handles allocating, initializing, and closing an Artichoke interpreter.

§Errors

If an exception is raised on the interpreter, then an error is returned.