class RSpec::Core::Configuration
def with_suite_hooks
- Private: -
def with_suite_hooks return yield if dry_run? hook_context = SuiteHookContext.new begin run_hooks_with(@before_suite_hooks, hook_context) yield ensure run_hooks_with(@after_suite_hooks, hook_context) end end