lib/active_support/dependencies.rb in activesupport-6.0.2.2 vs lib/active_support/dependencies.rb in activesupport-6.0.3.rc1
- old
+ new
@@ -311,11 +311,10 @@
def unloadable(const_desc)
Dependencies.mark_for_unload const_desc
end
private
-
def load(file, wrap = false)
result = false
load_dependency(file) { result = super }
result
end
@@ -792,10 +791,9 @@
def log(message)
logger.debug("autoloading: #{message}") if logger && verbose
end
private
-
# Returns the original name of a class or module even if `name` has been
# overridden.
def real_mod_name(mod)
UNBOUND_METHOD_MODULE_NAME.bind(mod).call
end