Class: Cucumber::Core::Ast::ScenarioOutline

Inherits:
Object
  • Object
show all
Includes:
DescribesItself, HasLocation, Names
Defined in:
lib/cucumber/core/ast/scenario_outline.rb

Constant Summary collapse

MissingExamples =
Class.new(StandardError)

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from DescribesItself

#describe_to

Methods included from HasLocation

#attributes, #file, #file_colon_line, #location, #match_locations?, #multiline_arg

Methods included from Names

#inspect, #legacy_conflated_name_and_description, #name, #to_s

Constructor Details

#initialize(gherkin_statement, language, location, background, comments, tags, feature_tags, keyword, title, description, steps, examples_tables) ⇒ ScenarioOutline

Returns a new instance of ScenarioOutline.



22
23
24
25
26
27
28
29
30
31
32
33
34
35
# File 'lib/cucumber/core/ast/scenario_outline.rb', line 22

def initialize(gherkin_statement, language, location, background, comments, tags, feature_tags, keyword, title, description, steps, examples_tables)
  @gherkin_statement = gherkin_statement
  @language          = language
  @location          = location
  @background        = background
  @comments          = comments
  @tags              = tags
  @feature_tags      = feature_tags
  @keyword           = keyword
  @title             = title
  @description       = description
  @steps             = steps
  @examples_tables   = examples_tables
end

Instance Attribute Details

#descriptionObject (readonly)

Returns the value of attribute description.



16
17
18
# File 'lib/cucumber/core/ast/scenario_outline.rb', line 16

def description
  @description
end

#examples_tablesObject (readonly)

Returns the value of attribute examples_tables.



16
17
18
# File 'lib/cucumber/core/ast/scenario_outline.rb', line 16

def examples_tables
  @examples_tables
end

#gherkin_statementObject (readonly)

Returns the value of attribute gherkin_statement.



16
17
18
# File 'lib/cucumber/core/ast/scenario_outline.rb', line 16

def gherkin_statement
  @gherkin_statement
end

#keywordObject (readonly)

Returns the value of attribute keyword.



16
17
18
# File 'lib/cucumber/core/ast/scenario_outline.rb', line 16

def keyword
  @keyword
end

#stepsObject (readonly)

Returns the value of attribute steps.



16
17
18
# File 'lib/cucumber/core/ast/scenario_outline.rb', line 16

def steps
  @steps
end

#tagsObject (readonly)

Returns the value of attribute tags.



16
17
18
# File 'lib/cucumber/core/ast/scenario_outline.rb', line 16

def tags
  @tags
end

#titleObject (readonly)

Returns the value of attribute title.



16
17
18
# File 'lib/cucumber/core/ast/scenario_outline.rb', line 16

def title
  @title
end