We’re in agreement here. However, it might be better to call this function clear() and to define clear(:name) to do clear() to get a fresh main module and then create bindings for everything that was in the old main except for name.
We’re in agreement here. However, it might be better to call this function clear() and to define clear(:name) to do clear() to get a fresh main module and then create bindings for everything that was in the old main except for name.