Skip to main content

rb_name_error

Function rb_name_error 

Source
pub unsafe extern "C" fn rb_name_error(
    name: ID,
    fmt: *const c_char,
    ...
) -> !
Expand description

Raises an instance of ::rb_eNameError. The name can be obtained later using NameError#name of the raising exception.

ยง@param[in] name What failed. @param[in] fmt Format specifier string compatible with rb_sprintf. @exception rb_eNameError Always raises this. @note It never returns.

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