Module: RSpec::Support::AllExceptionsExceptOnesWeMustNotRescue Private
Do not use. This module is for internal use only.
Relationships & Source Files | |
Defined in: | rspec-support/lib/rspec/support.rb |
Constant Summary
-
AVOID_RESCUING =
These exceptions are dangerous to rescue as rescuing them would interfere with things we should not interfere with.
[NoMemoryError, SignalException, Interrupt, SystemExit]
Class Method Summary
- .===(exception) Internal use only
Class Method Details
.===(exception)
[ GitHub ]# File 'rspec-support/lib/rspec/support.rb', line 150
def self.===(exception) AVOID_RESCUING.none? { |ar| ar === exception } end