Class: Cucumber::Core::Gherkin::AstBuilder::ExamplesTableBuilder::HeaderBuilder

Inherits:
Builder
  • Object
show all
Defined in:
lib/cucumber/core/gherkin/ast_builder.rb

Instance Method Summary collapse

Methods inherited from Builder

#handle_comments, #initialize

Constructor Details

This class inherits a constructor from Cucumber::Core::Gherkin::AstBuilder::Builder

Instance Method Details

#resultObject



337
338
339
340
# File 'lib/cucumber/core/gherkin/ast_builder.rb', line 337

def result
  cells = attributes[:cells].map { |c| c[:value] }
  Ast::ExamplesTable::Header.new(cells, location, comments)
end