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

Attributes included from Names

#description, #title

Instance Method Summary collapse

Methods included from DescribesItself

#describe_to

Methods included from HasLocation

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

Methods included from Names

#name, #to_s

Instance Attribute Details

#backgroundObject (readonly)

Returns the value of attribute background.



24
25
26
# File 'lib/cucumber/core/ast/scenario_outline.rb', line 24

def background
  @background
end

#commentsObject (readonly)

Returns the value of attribute comments.



24
25
26
# File 'lib/cucumber/core/ast/scenario_outline.rb', line 24

def comments
  @comments
end

#featureObject

Returns the value of attribute feature.



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

def feature
  @feature
end

#feature_tagsObject (readonly)

Returns the value of attribute feature_tags.



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

def feature_tags
  @feature_tags
end

#keywordObject (readonly)

Returns the value of attribute keyword.



24
25
26
# File 'lib/cucumber/core/ast/scenario_outline.rb', line 24

def keyword
  @keyword
end

#locationObject (readonly)

Returns the value of attribute location.



24
25
26
# File 'lib/cucumber/core/ast/scenario_outline.rb', line 24

def location
  @location
end

#tagsObject (readonly)

Returns the value of attribute tags.



24
25
26
# File 'lib/cucumber/core/ast/scenario_outline.rb', line 24

def tags
  @tags
end

Instance Method Details

#gherkin_statement(node) ⇒ Object



26
27
28
# File 'lib/cucumber/core/ast/scenario_outline.rb', line 26

def gherkin_statement(node)
  @gherkin_statement = node
end