Module: Mutineer::OutputFilter::ExitHook

Defined in:
lib/mutineer/output_filter.rb

Overview

Flushes the copier before exit!. exit! skips at_exit, and a forked test exits that way.

Instance Method Summary collapse

Instance Method Details

#exit!(status = true) ⇒ void

This method returns an undefined value.

Parameters:

  • status (Boolean, Integer) (defaults to: true)


79
80
81
82
# File 'lib/mutineer/output_filter.rb', line 79

def exit!(status = true)
  OutputFilter.uninstall
  super
end