Methods
Instance Public methods
fork(*)
📝 Source code
# 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
🔎 See on GitHub