Trait Gem
mruby_gems
pub trait Gem { fn init(interp: &Mrb) -> Result<(), MrbError>; }
Define a Rubygem that can be installed into an Mrb interpreter.
Mrb
fn init(interp: &Mrb) -> Result<(), MrbError>
Initialize a gem in the Mrb interpreter.