macro_rules! r_string { ($lit:expr) => { ... }; }
Create a RString from a Rust str literal.
RString
use magnus::{eval, r_string}; let s = r_string!("Hello, world!"); let res: bool = eval!(r#"s == "Hello, world!""#, s).unwrap(); assert!(res);