Function artichoke_backend::interpreter

source ·
pub fn interpreter() -> Result<Artichoke, Error>
Expand description

Create and initialize an Artichoke interpreter.

This function creates a new State, embeds it in the sys::mrb_state, initializes an in memory virtual file system, and loads the extn extensions to Ruby Core and Stdlib.