class Zeitwerk::Loader
def promote_namespace_from_implicit_to_explicit(dir:, file:, cref:)
the file where we've found the namespace is explicitly defined.
`dir` is the directory that would have autovivified a namespace. `file` is
def promote_namespace_from_implicit_to_explicit(dir:, file:, cref:) ads.delete(dir) ry.autoloads.unregister(dir) arlier autoload for #{cref} discarded, it is actually an explicit namespace defined in #{file}") if logger r matters: When Module#const_added is triggered by the autoload, we t want the namespace to be registered yet. _autoload(cref, file) er_explicit_namespace(cref)