class RSpec::Core::Hooks::AroundHook
@private
Public Instance Methods
# File rspec-core/lib/rspec/core/hooks.rb, line 389 def execute_with(example, procsy) example.instance_exec(procsy, &block) return if procsy.executed? Pending.mark_skipped!(example, "#{hook_description} did not execute the example") end
# File rspec-core/lib/rspec/core/hooks.rb, line 397 def hook_description "around hook at #{Metadata.relative_path(block.source_location.join(':'))}" end