class Cucumber::Core::Ast::Scenario
def children
def children raw_steps end
def description_for_visitors
def description_for_visitors :scenario end
def initialize(location, comments, tags, keyword, name, description, steps)
def initialize(location, comments, tags, keyword, name, description, steps) @location = location @comments = comments @tags = tags @keyword = keyword @name = name @description = description @raw_steps = steps end
def to_sexp
def to_sexp sexp = [:scenario, line, keyword, name] comment = comment.to_sexp sexp += [comment] if comment tags = tags.to_sexp sexp += tags if tags.any? sexp += step_invocations.to_sexp if step_invocations.any? sexp end