rb_define_module_under

Function rb_define_module_under 

Source
pub unsafe extern "C" fn rb_define_module_under(
    outer: VALUE,
    name: *const c_char,
) -> VALUE
Expand description

Defines a module under the namespace of outer.

ยง@param[out] outer A class which contains the new module. @param[in] name Name of the new module @exception rb_eTypeError The constant name name is already taken but the constant is not a class. @return The created module. @post outer::name refers the returned module. @note The compaction GC does not move classes returned by this function.

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