Skip to content
instance method

Module#remove_const

(::interned arg0) -> untyped
remove_const(sym) → obj

Removes the definition of the given constant, returning that constant’s previous value. If that constant referred to a module, this will not change that module’s name and can lead to confusion.