[][src]Trait mruby_gems::Gem

pub trait Gem {
    fn init(interp: &Mrb) -> Result<(), MrbError>;
}

Define a Rubygem that can be installed into an Mrb interpreter.

Required methods

fn init(interp: &Mrb) -> Result<(), MrbError>

Initialize a gem in the Mrb interpreter.

Loading content...

Implementors

Loading content...