pub unsafe extern "C" fn rb_const_remove(
space: VALUE,
name: ID,
) -> VALUEExpand description
Identical to rb_mod_remove_const, except it takes the name as ::ID instead
of ::VALUE.
ยง@param[out] space Target namespace.
@param[in] name Variable name to remove, either in Symbol or String.
@return What was removed.
@pre Constant named space::name is deleted.
@note In case what was removed was in fact a module or a class, this
operation does not affect its name. Which means when people
for instance look at it using p etc., it still introduces
itself using the deleted name. Can confuse people.
Generated by rb-sys for Ruby mri-x86_64-linux-gnu-3.2.3