5 6 7 8 9
# File 'lib/cover_rage/fork_hook.rb', line 5 def _fork pid = super CoverRage::Launcher.start if pid.zero? pid end
11 12 13 14 15 16
# File 'lib/cover_rage/fork_hook.rb', line 11 def daemon(...) CoverRage::Launcher.recorder.save(Coverage.result(stop: false)) returned = super CoverRage::Launcher.start returned end