class Cucumber::Core::Ast::Scenario
def children
def children raw_steps end
def description_for_visitors
def description_for_visitors :scenario end
def initialize(gherkin_statement, language, location, background, comments, tags, feature_tags, keyword, title, description, raw_steps)
def initialize(gherkin_statement, language, location, background, comments, tags, feature_tags, keyword, title, description, raw_steps) @gherkin_statement = gherkin_statement @language = language @location = location @background = background @comments = comments @tags = tags @feature_tags = feature_tags @keyword = keyword @title = title @description = description @raw_steps = raw_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