Class: Cucumber::Formatter::LegacyApi::Adapter::AfterHookPrinter
- Inherits:
-
Object
- Object
- 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.
451 452 453 |
# File 'lib/cucumber/formatter/legacy_api/adapter.rb', line 451 def initialize(formatter) @formatter = formatter end |
Instance Attribute Details
#formatter ⇒ Object (readonly)
Returns the value of attribute formatter.
449 450 451 |
# File 'lib/cucumber/formatter/legacy_api/adapter.rb', line 449 def formatter @formatter end |
Instance Method Details
#after ⇒ Object
457 458 459 |
# File 'lib/cucumber/formatter/legacy_api/adapter.rb', line 457 def after after_hook_results.accept(formatter) end |