Module: AllureRSpec::Hooks::OverrideHooksMethods

Includes:
RSpec::Core::Hooks
Defined in:
lib/allure-rspec/hooks.rb

Defined Under Namespace

Classes: OverridenHookCollections

Instance Method Summary collapse

Instance Method Details

#hooksObject



13
14
15
# File 'lib/allure-rspec/hooks.rb', line 13

def hooks
  @__hooks ||= OverridenHookCollections.new(old_hooks)
end

#old_hooksObject



11
# File 'lib/allure-rspec/hooks.rb', line 11

alias_method :old_hooks, :hooks