Function rb_mod_module_exec

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

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

ยง@param[in] argc Number of objects in argv @param[in] argv Arbitrary parameters to be passed to the block. @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