module Spec::Example::ExampleGroupMethods

def run_after_all(success, instance_variables, run_options)

def run_after_all(success, instance_variables, run_options)
  return success if example_group_hierarchy.after_all_parts.empty?
  example_proxy = ExampleProxy.new("after(:all)")
  after_all = new(example_proxy)
  after_all.set_instance_variables_from_hash(instance_variables)
  example_group_hierarchy.run_after_all(after_all)
  success
rescue Exception => e
  run_options.reporter.example_failed(example_proxy, e)
  false
end