# File lib/cucumber/core/ast/scenario.rb, line 19 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
# File lib/cucumber/core/ast/scenario.rb, line 29 def children raw_steps end
# File lib/cucumber/core/ast/scenario.rb, line 33 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
# File lib/cucumber/core/ast/scenario.rb, line 45 def description_for_visitors :scenario end