Sha256: 591f6e214c4e790f4bd608fc36e3812e7af11b787e74fabbdc08bb8d6a313c53
Contents?: true
Size: 246 Bytes
Versions: 19
Compression:
Stored size: 246 Bytes
Contents
use magnus::{prelude::*, Value}; #[test] fn it_returns_the_class_name() { let ruby = unsafe { magnus::embed::init() }; unsafe { let val: Value = ruby.eval("42").unwrap(); assert_eq!("Integer", val.classname()); } }
Version data entries
19 entries across 19 versions & 1 rubygems