Class: ScenarioOutline

Inherits:
Scenario show all
Defined in:
lib/cuker/models/models_ready.rb

Instance Attribute Summary collapse

Attributes inherited from Scenario

#steps

Attributes inherited from TaggedGherkinCollection

#tags

Attributes inherited from SimpleGherkinCollection

#comments, #title

Attributes inherited from Collection

#items, #keyword

Attributes inherited from Item

#content

Instance Method Summary collapse

Methods inherited from SimpleGherkinCollection

#parse_title

Methods inherited from Collection

#to_s

Methods inherited from Item

#to_s

Constructor Details

#initialize(content_str, keyword = "Scenario Outline:") ⇒ ScenarioOutline

Returns a new instance of ScenarioOutline.



128
129
130
131
# File 'lib/cuker/models/models_ready.rb', line 128

def initialize content_str, keyword = "Scenario Outline:"
  @keyword = keyword
  super content_str, @keyword
end

Instance Attribute Details

#examplesObject

Returns the value of attribute examples.



126
127
128
# File 'lib/cuker/models/models_ready.rb', line 126

def examples
  @examples
end