[][src]Function artichoke::prelude::interpreter

pub fn interpreter() -> Result<Artichoke, Exception>

Create and initialize an Artichoke interpreter.

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