# File lib/rspec/core/example_group.rb, line 436 def instance_eval_with_rescue(&hook) begin instance_eval(&hook) rescue Exception => e raise unless example example.set_exception(e) end end