Ruby support #1

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

View file

@ -150,6 +150,7 @@ impl Default for RubyRuntime {
.define_method("and_then", magnus::method!(then, 1))
.unwrap();
}));
// TODO: add test for those types for every runtime
// engine
// .register_userdata_type::<BevyEntity>(|typ| {
// typ.add_field_method_get("index", |_, entity| Ok(entity.0.index()));