Function rb_mod_module_eval

Source
pub unsafe extern "C" fn rb_mod_module_eval(
    argc: c_int,
    argv: *const VALUE,
    mod_: VALUE,
) -> VALUE
Expand description

Identical to rb_obj_instance_eval, except it evaluates within the context of module.

ยง@param[in] argc Number of objects in argv @param[in] argv C array of 0 up to 3 elements. @param[in] mod The module in question. @pre mod must be a Module. @return What was evaluated.

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