setup_ruby

Function setup_ruby 

Source
pub unsafe fn setup_ruby() -> RubyCleanupGuard
Expand description

Setup the Ruby VM and return a guard that will cleanup the VM when dropped.

§Safety

This function is not thread-safe and caller must ensure it’s only called once.