class Cucumber::Core::Gherkin::AstBuilder::DataTableBuilder

Public Instance Methods

result() click to toggle source
# File lib/cucumber/core/gherkin/ast_builder.rb, line 344
def result
  Ast::DataTable.new(
    rows,
    location
  )
end
rows() click to toggle source
# File lib/cucumber/core/gherkin/ast_builder.rb, line 351
def rows
  attributes[:rows] = attributes[:rows].map { |r| r[:cells].map { |c| c[:value] } }
end