module ActiveSupport::ForkTracker::CoreExt

Private Instance Methods

fork(...) { || ... } click to toggle source
Calls superclass method
# File 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