method
load_with_new_constant_marking
rails latest stable - Class:
ActiveSupport::Dependencies::Loadable
load_with_new_constant_marking(file, *extras)public
No documentation available.
# File activesupport/lib/active_support/dependencies.rb, line 143
def load_with_new_constant_marking(file, *extras) #:nodoc:
if Dependencies.load?
Dependencies.new_constants_in(Object) { load_without_new_constant_marking(file, *extras) }
else
load_without_new_constant_marking(file, *extras)
end
rescue Exception => exception # errors from loading file
exception.blame_file! file
raise
end