123456789_123456789_123456789_123456789_123456789_

Class: RSpec::Core::Hooks::BeforeHook Private

Do not use. This class is for internal use only.
Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, Hook, Struct
Instance Chain:
self, Hook, Struct
Inherits: RSpec::Core::Hooks::Hook
Defined in: rspec-core/lib/rspec/core/hooks.rb

Instance Attribute Summary

Hook - Inherited

Instance Method Summary

Instance Method Details

#run(example)

[ GitHub ]

  
# File 'rspec-core/lib/rspec/core/hooks.rb', line 364

def run(example)
  example.instance_exec(example, &block)
end