instance method
running
Ruby on Rails 7.2.3
Since v5.2.8.1Signature
running(&block)
No documentation comment.
Parameters
-
blockblock
Source
# File activesupport/lib/active_support/dependencies/interlock.rb, line 36
def running(&block)
@lock.sharing(&block)
end
Defined in activesupport/lib/active_support/dependencies/interlock.rb line 36
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::Dependencies::Interlock