class Zeitwerk::Loader

def define_autoloads_for_dir(dir, parent)

@sig (String, Module) -> void
def define_autoloads_for_dir(dir, parent)
) do |basename, abspath|
uby?(basename)
sename.delete_suffix!(".rb")
toload_file(parent, cname_for(basename, abspath), abspath)

 collapse?(abspath)
define_autoloads_for_dir(abspath, parent)
se
autoload_subdir(parent, cname_for(basename, abspath), abspath)
d