Function magnus::embed::ruby_script

source ·
pub fn ruby_script<T>(name: T)
where T: IntoRString,
Available on crate feature embed only.
Expand description

Sets the current script name.

§Panics

Panics if called from a non-Ruby thread. See Ruby::script for the non-panicking version.