Class: Evilution::Integration::RSpec::CrashDetectorLifecycle Private
- Inherits:
-
Object
- Object
- Evilution::Integration::RSpec::CrashDetectorLifecycle
- Defined in:
- lib/evilution/integration/rspec/crash_detector_lifecycle.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Instance Method Summary collapse
- #current ⇒ Object private
Instance Method Details
#current ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
8 9 10 11 12 13 14 15 16 |
# File 'lib/evilution/integration/rspec/crash_detector_lifecycle.rb', line 8 def current if @detector @detector.reset else @detector = Evilution::Integration::CrashDetector.new(StringIO.new) ::RSpec.configuration.add_formatter(@detector) end @detector end |