class Cucumber::Core::Gherkin::AstBuilder::ScenarioBuilder
def add_step(file, node)
def add_step(file, node) step_builders << StepBuilder.new(file, node) end
def result(background, language, feature_tags)
def result(background, language, feature_tags) Ast::Scenario.new( node, language, location, background, comments, tags, feature_tags, node.keyword, node.name, node.description, steps(language) ) end
def step_builders
def step_builders @step_builders ||= [] end
def steps(language)
def steps(language) step_builders.map { |step_builder| step_builder.result(language) } end