class RSpec::Core::Hooks::AroundHook
@private
Public Instance Methods
execute_with(example, procsy)
click to toggle source
# File 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
hook_description()
click to toggle source
# File lib/rspec/core/hooks.rb, line 397 def hook_description "around hook at #{Metadata.relative_path(block.source_location.join(':'))}" end