Class: RSpec::Core::Hooks::AroundHook

Inherits:
Hook show all
Defined in:
lib/rspec/core/hooks.rb

Instance Attribute Summary

Attributes inherited from Hook

#options

Instance Method Summary collapse

Methods inherited from Hook

#initialize, #options_apply?, #to_proc

Constructor Details

This class inherits a constructor from RSpec::Core::Hooks::Hook

Instance Method Details

#call(wrapped_example) ⇒ Object



47
48
49
# File 'lib/rspec/core/hooks.rb', line 47

def call(wrapped_example)
  @block.call(wrapped_example)
end