Ruby support #1

Open
jaroslaw wants to merge 165 commits from ruby into main
Showing only changes of commit 0a9dc09b0c - Show all commits

View file

@ -177,7 +177,7 @@ impl Runtime for RubyRuntime {
) -> Result<Self::Value, crate::ScriptingError> {
let name = name.to_string();
RUBY_THREAD.execute_in(Box::new(move |ruby| {
let _: magnus::Value = ruby.class_object().funcall(name, ()).unwrap();
let _: Result<magnus::Value, _> = ruby.class_object().funcall(name, ());
RubyValue(())
}));