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.
-
#gherkin_statement ⇒ Object
readonly
Returns the value of attribute gherkin_statement.
-
#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(gherkin_statement, language, location, background, comments, tags, feature_tags, keyword, name, description, steps, examples_tables) ⇒ ScenarioOutline
constructor
A new instance of ScenarioOutline.
Methods included from DescribesItself
Methods included from HasLocation
#attributes, #file, #file_colon_line, #location, #match_locations?, #multiline_arg
Methods included from Names
#inspect, #legacy_conflated_name_and_description, #title, #to_s
Constructor Details
#initialize(gherkin_statement, language, location, background, comments, tags, feature_tags, keyword, name, description, steps, examples_tables) ⇒ ScenarioOutline
Returns a new instance of ScenarioOutline.
21 22 23 24 25 26 27 28 29 30 31 32 33 34 |
# File 'lib/cucumber/core/ast/scenario_outline.rb', line 21 def initialize(gherkin_statement, language, location, background, comments, , , keyword, name, description, steps, examples_tables) @gherkin_statement = gherkin_statement @language = language @location = location @background = background @comments = comments @tags = @feature_tags = @keyword = keyword @name = name @description = description @steps = steps @examples_tables = examples_tables end |
Instance Attribute Details
#comments ⇒ Object (readonly)
Returns the value of attribute comments.
16 17 18 |
# File 'lib/cucumber/core/ast/scenario_outline.rb', line 16 def comments @comments end |
#examples_tables ⇒ Object (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_statement ⇒ Object (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 |
#keyword ⇒ Object (readonly)
Returns the value of attribute keyword.
16 17 18 |
# File 'lib/cucumber/core/ast/scenario_outline.rb', line 16 def keyword @keyword end |
#steps ⇒ Object (readonly)
Returns the value of attribute steps.
16 17 18 |
# File 'lib/cucumber/core/ast/scenario_outline.rb', line 16 def steps @steps end |
#tags ⇒ Object (readonly)
Returns the value of attribute tags.
16 17 18 |
# File 'lib/cucumber/core/ast/scenario_outline.rb', line 16 def @tags end |