# File lib/rspec/matchers/built_in/base_matcher.rb, line 28 def match_unless_raises(*exceptions) exceptions.unshift Exception if exceptions.empty? begin yield true rescue *exceptions => @rescued_exception false end end