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
683 684 685 686 687 |
# File 'lib/cucumber/formatter/legacy_api/adapter.rb', line 683 def after @child.after if @child formatter.after_examples_array self end |
#before ⇒ Object
671 672 673 674 |
# File 'lib/cucumber/formatter/legacy_api/adapter.rb', line 671 def before formatter.before_examples_array(:examples_array) self end |
#examples_table(examples_table) ⇒ Object
676 677 678 679 680 681 |
# File 'lib/cucumber/formatter/legacy_api/adapter.rb', line 676 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 |