method
loading
v8.0.0 -
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)
@lock.exclusive(purpose: :load, compatible: [:load], after_compatible: [:load], &block)
end