# File lib/rspec/matchers/base_matcher.rb, line 26 def match_unless_raises(exception=Exception) begin yield true rescue exception => @rescued_exception false end end