class Cucumber::Core::Gherkin::AstBuilder::ScenarioOutlineBuilder
def children
def children step_builders + example_builders end
def examples(language)
def examples(language) example_builders.map { |builder| builder.result(language) } end
def initialize(*)
def initialize(*) super @step_builders = attributes[:steps].map { |step| OutlineStepBuilder.new(file, step) } @example_builders = attributes[:examples] ? attributes[:examples].map { |example| ExamplesTableBuilder.new(file, example) } : [] end
def result(language)
def result(language) Ast::ScenarioOutline.new( location, comments, tags, keyword, name, description, steps(language), examples(language) ) end
def steps(language)
def steps(language) step_builders.map { |builder| builder.result(language) } end