Class: Cucumber::Core::Ast::ScenarioOutline
- Inherits:
-
Object
- Object
- Cucumber::Core::Ast::ScenarioOutline
- Includes:
- DescribesItself, HasLocation, Names
- Defined in:
- lib/cucumber/core/ast/scenario_outline.rb
Constant Summary collapse
- MissingExamples =
Class.new(StandardError)
Instance Attribute Summary collapse
-
#comments ⇒ Object
readonly
Returns the value of attribute comments.
-
#examples_tables ⇒ Object
readonly
Returns the value of attribute examples_tables.
-
#keyword ⇒ Object
readonly
Returns the value of attribute keyword.
-
#steps ⇒ Object
readonly
Returns the value of attribute steps.
-
#tags ⇒ Object
readonly
Returns the value of attribute tags.
Attributes included from Names
Instance Method Summary collapse
-
#initialize(location, comments, tags, keyword, name, description, steps, examples) ⇒ ScenarioOutline
constructor
A new instance of ScenarioOutline.
Methods included from DescribesItself
Methods included from HasLocation
#all_locations, #attributes, #file, #file_colon_line, #location, #multiline_arg
Methods included from Names
#inspect, #legacy_conflated_name_and_description, #to_s
Constructor Details
#initialize(location, comments, tags, keyword, name, description, steps, examples) ⇒ ScenarioOutline
Returns a new instance of ScenarioOutline.
19 20 21 22 23 24 25 26 27 28 |
# File 'lib/cucumber/core/ast/scenario_outline.rb', line 19 def initialize(location, comments, , keyword, name, description, steps, examples) @location = location @comments = comments @tags = @keyword = keyword @name = name @description = description @steps = steps @examples_tables = examples end |
Instance Attribute Details
#comments ⇒ Object (readonly)
Returns the value of attribute comments.
15 16 17 |
# File 'lib/cucumber/core/ast/scenario_outline.rb', line 15 def comments @comments end |
#examples_tables ⇒ Object (readonly)
Returns the value of attribute examples_tables.
15 16 17 |
# File 'lib/cucumber/core/ast/scenario_outline.rb', line 15 def examples_tables @examples_tables end |
#keyword ⇒ Object (readonly)
Returns the value of attribute keyword.
15 16 17 |
# File 'lib/cucumber/core/ast/scenario_outline.rb', line 15 def keyword @keyword end |
#steps ⇒ Object (readonly)
Returns the value of attribute steps.
15 16 17 |
# File 'lib/cucumber/core/ast/scenario_outline.rb', line 15 def steps @steps end |
#tags ⇒ Object (readonly)
Returns the value of attribute tags.
15 16 17 |
# File 'lib/cucumber/core/ast/scenario_outline.rb', line 15 def @tags end |