instance method
fork
Ruby on Rails 7.0.10
Since v6.1.7.10 Last seen in v7.1.6 PrivateSignature
fork(...)
No documentation comment.
Parameters
-
...req
Source
# File activesupport/lib/active_support/fork_tracker.rb, line 16
def fork(...)
if block_given?
super do
ForkTracker.check!
yield
end
else
unless pid = super
ForkTracker.check!
end
pid
end
end
Defined in activesupport/lib/active_support/fork_tracker.rb line 16
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::ForkTracker::CoreExt