class Cucumber::Formatter::LegacyApi::Ast::MultilineArg::DataTable

Public Instance Methods

accept(formatter) click to toggle source
# File lib/cucumber/formatter/legacy_api/ast.rb, line 351
def accept(formatter)
  formatter.before_multiline_arg self
  node.raw.each_with_index do |row, index|
    line = node.location.line + index
    DataTableRow.new(row, line).accept(formatter)
  end
  formatter.after_multiline_arg self
end
node() click to toggle source
# File lib/cucumber/formatter/legacy_api/ast.rb, line 347
def node
  @ast_table
end