Class: Cucumber::Formatter::LegacyApi::Ast::LegacyTableRow

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

Instance Method Summary collapse

Methods inherited from DataTableRow

#dom_id, #exception, #initialize, #status

Constructor Details

This class inherits a constructor from Cucumber::Formatter::LegacyApi::Ast::DataTableRow

Instance Method Details

#accept(formatter) ⇒ Object



267
268
269
270
271
272
273
274
275
# File 'lib/cucumber/formatter/legacy_api/ast.rb', line 267

def accept(formatter)
  formatter.before_table_row(self)
  values.each do |value|
    formatter.before_table_cell(value.value)
    formatter.table_cell_value(value.value, value.status)
    formatter.after_table_cell(value.value)
  end
  formatter.after_table_row(self)
end