Class: Cucumber::Formatter::LegacyApi::Adapter::ExamplesArrayPrinter
- Inherits:
-
Struct
- Object
- Struct
- Cucumber::Formatter::LegacyApi::Adapter::ExamplesArrayPrinter
- Extended by:
- Forwardable
- Defined in:
- lib/cucumber/formatter/legacy_api/adapter.rb
Instance Method Summary collapse
Instance Method Details
#after ⇒ Object
691 692 693 694 695 |
# File 'lib/cucumber/formatter/legacy_api/adapter.rb', line 691 def after @child.after if @child formatter.after_examples_array self end |
#before ⇒ Object
679 680 681 682 |
# File 'lib/cucumber/formatter/legacy_api/adapter.rb', line 679 def before formatter.before_examples_array(:examples_array) self end |
#examples_table(examples_table) ⇒ Object
684 685 686 687 688 689 |
# File 'lib/cucumber/formatter/legacy_api/adapter.rb', line 684 def examples_table(examples_table) return if examples_table == @current @child.after if @child @child = ExamplesTablePrinter.new(formatter, configuration, examples_table).before @current = examples_table end |