module RSpec::Support::AllExceptionsExceptOnesWeMustNotRescue
@private
Constants
- AVOID_RESCUING
These exceptions are dangerous to rescue as rescuing them would interfere with things we should not interfere with.
Public Class Methods
===(exception)
click to toggle source
# File lib/rspec/support.rb, line 127 def self.===(exception) AVOID_RESCUING.none? { |ar| ar === exception } end