magnus 0.6.4

High level Ruby bindings. Write Ruby extension gems in Rust, or call Ruby code from a Rust binary.
Documentation
use magnus::Value;

#[test]
fn it_formats_with_to_s() {
    let ruby = unsafe { magnus::embed::init() };

    let val = ruby
        .eval::<Value>(r#"["foo".upcase, "bar".to_sym, 1 + 2]"#)
        .unwrap();

    assert_eq!(r#"["FOO", :bar, 3]"#, format!("{:?}", val));
}