[][src]Function rosy::vm::load_protected

pub unsafe fn load_protected(file: impl Into<String>, wrap: bool) -> Result

Loads and executes the Ruby program file.

See load for more info.

Safety

Code executed from file may void the type safety of objects accessible from Rust. For example, if one calls push on Array<A> with an object of type B, then the inserted object will be treated as being of type A.