[][src]Function artichoke::ruby::entrypoint

pub fn entrypoint<R, W>(
    input: R,
    error: W
) -> Result<Result<(), ()>, Box<dyn Error>> where
    R: Read,
    W: Write + WriteColor

Main entrypoint for Artichoke's version of the ruby CLI.

Errors

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