class RSpec::Core::Example
def run(example_group_instance, reporter)
def run(example_group_instance, reporter) @example_group_instance = example_group_instance @example_group_instance.example = self start(reporter) begin unless pending with_around_hooks do begin run_before_each @in_block = true with_pending_capture &@example_block rescue Exception => e set_exception(e) ensure @in_block = false run_after_each end # FUCKME (DC): I really want to move the call below to the end of # the with_around_hooks method, but it adds 4% to the run time. # Why? (footnote - Dan North made me write this comment) end.call end rescue Exception => e set_exception(e) ensure @example_group_instance.example = nil assign_auto_description end finish(reporter) end