class Cucumber::Core::Ast::Scenario

Attributes

background[R]
comments[R]
description[R]
keyword[R]
location[R]
raw_steps[R]
tags[R]

Public Class Methods

new(location, comments, tags, keyword, name, description, steps) click to toggle source
# 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

Public Instance Methods

children() click to toggle source
# File lib/cucumber/core/ast/scenario.rb, line 29
def children
  raw_steps
end

Private Instance Methods

description_for_visitors() click to toggle source
# File lib/cucumber/core/ast/scenario.rb, line 35
def description_for_visitors
  :scenario
end