class RSpec::Core::Configuration

def configure_example(example, example_hooks)

Other tags:
    Private: -
def configure_example(example, example_hooks)
  example_hooks.register_global_singleton_context_hooks(example, hooks)
  singleton_group = example.example_group_instance.singleton_class
  # We replace the metadata so that SharedExampleGroupModule#included
  # has access to the example's metadata[:location].
  singleton_group.with_replaced_metadata(example.metadata) do
    modules = @include_modules.items_for(example.metadata)
    modules.each do |mod|
      safe_include(mod, example.example_group_instance.singleton_class)
    end
    MemoizedHelpers.define_helpers_on(singleton_group) unless modules.empty?
  end
end