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
679 680 681 682 683 |
# File 'lib/cucumber/formatter/legacy_api/adapter.rb', line 679 def after @child.after if @child formatter.after_examples_array self end |
#before ⇒ Object
667 668 669 670 |
# File 'lib/cucumber/formatter/legacy_api/adapter.rb', line 667 def before formatter.before_examples_array(:examples_array) self end |
#examples_table(examples_table) ⇒ Object
672 673 674 675 676 677 |
# File 'lib/cucumber/formatter/legacy_api/adapter.rb', line 672 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 |