instance method
after_fork
Ruby on Rails 8.1.2
Since v6.1.7.10Signature
after_fork()
No documentation comment.
Source
# File activesupport/lib/active_support/testing/parallelization/worker.rb, line 82
def after_fork
ActiveSupport::TestCase.parallel_worker_id = @number
Parallelization.after_fork_hooks.each do |cb|
cb.call(@number)
end
end
Defined in activesupport/lib/active_support/testing/parallelization/worker.rb line 82
· View on GitHub
· Improve this page
· Find usages on GitHub