Use Helix to write Native Ruby Extensions using Rust
#[macro_use]
extern crate helix;
ruby! {
class Console {
def log(string: &str) {
println!("LOG: {:?}", string);
}
}
}
require "console"
Console.log("I'm in your Rust")
# => LOG: "I'm in your Rust"