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