ruby_script

Function ruby_script 

Source
pub unsafe extern "C" fn ruby_script(name: *const c_char)
Expand description

Sets the current script name to this value.

This is similar to $0 = name in Ruby level but also affects Method#location and others.

ยง@param[in] name File name to set.

Generated by rb-sys for Ruby mri-x86_64-linux-gnu-3.2.3