Class: Cucumber::Formatter::LegacyApi::Ast::LegacyTable
- Inherits:
-
SimpleDelegator
- Object
- SimpleDelegator
- Cucumber::Formatter::LegacyApi::Ast::LegacyTable
- Defined in:
- lib/cucumber/formatter/legacy_api/ast.rb
Instance Method Summary collapse
Instance Method Details
#accept(formatter) ⇒ Object
370 371 372 373 374 375 376 377 |
# File 'lib/cucumber/formatter/legacy_api/ast.rb', line 370 def accept(formatter) formatter.before_multiline_arg self cells_rows.each_with_index do |row, index| line = location.line + index LegacyTableRow.new(row, line).accept(formatter) end formatter.after_multiline_arg self end |