class Cucumber::Formatter::LegacyApi::Ast::DataTableRow

Attributes

line[R]
values[R]

Public Class Methods

new(row, line) click to toggle source
# File lib/cucumber/formatter/legacy_api/ast.rb, line 210
def initialize(row, line)
  @values = row
  @line = line
end

Public Instance Methods

accept(formatter) click to toggle source
# File lib/cucumber/formatter/legacy_api/ast.rb, line 219
def accept(formatter)
  formatter.before_table_row(self)
  values.each do |value|
    formatter.before_table_cell(value)
    formatter.table_cell_value(value, status)
    formatter.after_table_cell(value)
  end
  formatter.after_table_row(self)
end
dom_id() click to toggle source
# File lib/cucumber/formatter/legacy_api/ast.rb, line 215
def dom_id
  "row_#{line}"
end
exception() click to toggle source
# File lib/cucumber/formatter/legacy_api/ast.rb, line 233
def exception
  nil
end
status() click to toggle source
# File lib/cucumber/formatter/legacy_api/ast.rb, line 229
def status
  :skipped
end