instance method
fork
Ruby on Rails 6.1.7.10
Since v6.1.7.10 Last seen in v7.1.6Signature
fork(*)
No documentation comment.
Parameters
-
argsrest
Source
# File activesupport/lib/active_support/fork_tracker.rb, line 6
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 6
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::ForkTracker::CoreExt