method
loading
v8.1.1 -
Show latest stable
- Class:
ActiveSupport::Dependencies::Interlock
loading(&block)public
No documentation available.
# File activesupport/lib/active_support/dependencies/interlock.rb, line 12
def loading(&block)
ActiveSupport.deprecator.warn(
"ActiveSupport::Dependencies::Interlock#loading is deprecated and " "will be removed in Rails 9.0. The loading interlock is no longer " "used since Rails switched to Zeitwerk for autoloading."
)
yield if block
end