Class: Gherkin::Formatter::Model::ScenarioOutline

Inherits:
TagStatement show all
Defined in:
lib/gherkin/formatter/model.rb

Instance Attribute Summary

Attributes inherited from TagStatement

#id, #tags

Attributes inherited from DescribedStatement

#description

Attributes inherited from BasicStatement

#comments, #keyword, #line, #name

Instance Method Summary collapse

Methods inherited from TagStatement

#first_non_comment_line

Methods inherited from BasicStatement

#first_non_comment_line, #line_range

Methods inherited from Hashable

#to_hash

Constructor Details

#initialize(comments, tags, keyword, name, description, line, id) ⇒ ScenarioOutline

Returns a new instance of ScenarioOutline.



84
85
86
87
# File 'lib/gherkin/formatter/model.rb', line 84

def initialize(comments, tags, keyword, name, description, line, id)
  super(comments, tags, keyword, name, description, line, id)
  @type = "scenario_outline"
end

Instance Method Details

#replay(formatter) ⇒ Object



89
90
91
# File 'lib/gherkin/formatter/model.rb', line 89

def replay(formatter)
  formatter.scenario_outline(self)
end