module Zeitwerk::RealModName

def real_mod_name(mod)

@sig (Module) -> String?

The name method can be overridden, hence the indirection in this method.

constant to which it was assigned (or nil).
Returns the real name of the class or module, as set after the first
def real_mod_name(mod)
  UNBOUND_METHOD_MODULE_NAME.bind_call(mod)
end