MCPcopy Create free account
hub / github.com/RUB-SysSec/nautilus / Mruby

Class Mruby

gramfuzz_mrusty/src/mruby.rs:40–51  ·  view source on GitHub ↗

A safe `struct` for the mruby API. The `struct` only contains creation and desctruction methods. Creating an `Mruby` returns a `MrubyType` (`Rc >`) which implements `MrubyImpl` where the rest of the implemented API is found. # Examples ``` use mrusty::{Mruby, MrubyImpl}; let mruby = Mruby::new(); let result = mruby.run("2 + 2 == 5").unwrap(); assert_eq!(result.to_bool().unwrap(),

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected