Ruby support #1
1 changed files with 0 additions and 1 deletions
|
|
@ -323,7 +323,6 @@ impl Runtime for RubyRuntime {
|
||||||
.as_ref()
|
.as_ref()
|
||||||
.unwrap()
|
.unwrap()
|
||||||
.execute(Box::new(move |ruby| {
|
.execute(Box::new(move |ruby| {
|
||||||
// TODO: use ruby.proc_from_fn instead
|
|
||||||
ruby.define_global_function(&name, function!(callback, -1));
|
ruby.define_global_function(&name, function!(callback, -1));
|
||||||
RubyValue::nil(&ruby)
|
RubyValue::nil(&ruby)
|
||||||
}));
|
}));
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue