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



442
443
444
# File 'lib/cucumber/formatter/legacy_api/adapter.rb', line 442

def after_hook(result)
  after_hook_results << result
end

#after_hook_resultsObject



438
439
440
# File 'lib/cucumber/formatter/legacy_api/adapter.rb', line 438

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