class Cucumber::Core::Gherkin::AstBuilder::DataTableBuilder
def location
def location first_line = attributes[:location][:line] last_line = first_line + attributes[:rows].length - 1 Ast::Location.new(file, first_line..last_line) end
def result
def result Ast::DataTable.new( rows, location ) end
def rows
def rows attributes[:rows] = attributes[:rows].map { |r| r[:cells].map { |c| c[:value] } } end