Module: Cucumber::Formatter::LegacyApi::Adapter::PrintsAfterHooks

Included in:
AfterHookPrinter, ScenarioPrinter, TableRowPrinterBase
Defined in:
lib/cucumber/formatter/legacy_api/adapter.rb

Instance Method Summary collapse

Instance Method Details

#after_hook(result) ⇒ Object



431
432
433
# File 'lib/cucumber/formatter/legacy_api/adapter.rb', line 431

def after_hook(result)
  after_hook_results << result
end

#after_hook_resultsObject



427
428
429
# File 'lib/cucumber/formatter/legacy_api/adapter.rb', line 427

def after_hook_results
  @after_hook_results ||= Ast::HookResultCollection.new
end