Class: Cucumber::Formatter::LegacyApi::Adapter::AfterHookPrinter
- Includes:
- PrintsAfterHooks
- Defined in:
- lib/cucumber/formatter/legacy_api/adapter.rb
Overview
Basic printer used by default
Instance Attribute Summary collapse
-
#formatter ⇒ Object
readonly
Returns the value of attribute formatter.
Instance Method Summary collapse
- #after ⇒ Object
-
#initialize(formatter) ⇒ AfterHookPrinter
constructor
A new instance of AfterHookPrinter.
Methods included from PrintsAfterHooks
#after_hook, #after_hook_results
Constructor Details
#initialize(formatter) ⇒ AfterHookPrinter
Returns a new instance of AfterHookPrinter.
439 440 441 |
# File 'lib/cucumber/formatter/legacy_api/adapter.rb', line 439 def initialize(formatter) @formatter = formatter end |
Instance Attribute Details
#formatter ⇒ Object (readonly)
Returns the value of attribute formatter.
437 438 439 |
# File 'lib/cucumber/formatter/legacy_api/adapter.rb', line 437 def formatter @formatter end |
Instance Method Details
#after ⇒ Object
445 446 447 |
# File 'lib/cucumber/formatter/legacy_api/adapter.rb', line 445 def after after_hook_results.accept(formatter) end |