Module: Kernel

Defined in:
lib/rookout/atfork.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.fork(&block) ⇒ Object



62
63
64
# File 'lib/rookout/atfork.rb', line 62

def self.fork &block
  Rookout::ForkManager.instance.fork_hook method(:_rookout_original_fork), &block
end

Instance Method Details

#_rookout_original_forkObject



60
# File 'lib/rookout/atfork.rb', line 60

alias _rookout_original_fork fork