Class: Cucumber::Formatter::LegacyApi::Ast::LegacyTable

Inherits:
SimpleDelegator
  • Object
show all
Defined in:
lib/cucumber/formatter/legacy_api/ast.rb

Instance Method Summary collapse

Instance Method Details

#accept(formatter) ⇒ Object



363
364
365
366
367
368
369
370
# File 'lib/cucumber/formatter/legacy_api/ast.rb', line 363

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