Class: Cucumber::Core::Ast::ExamplesTable
- Inherits:
-
Object
- Object
- Cucumber::Core::Ast::ExamplesTable
- Includes:
- DescribesItself, HasLocation, Names
- Defined in:
- lib/cucumber/core/ast/examples_table.rb
Defined Under Namespace
Instance Attribute Summary collapse
-
#comments ⇒ Object
readonly
Returns the value of attribute comments.
-
#gherkin_statement ⇒ Object
readonly
Returns the value of attribute gherkin_statement.
-
#header ⇒ Object
readonly
Returns the value of attribute header.
-
#keyword ⇒ Object
readonly
Returns the value of attribute keyword.
-
#location ⇒ Object
readonly
Returns the value of attribute location.
-
#tags ⇒ Object
readonly
Returns the value of attribute tags.
Instance Method Summary collapse
-
#initialize(gherkin_statement, location, comments, tags, keyword, title, description, header, example_rows) ⇒ ExamplesTable
constructor
A new instance of ExamplesTable.
Methods included from DescribesItself
Methods included from HasLocation
#attributes, #file, #file_colon_line, #line, #match_locations?, #multiline_arg
Methods included from Names
#legacy_conflated_name_and_description, #name, #to_s
Constructor Details
#initialize(gherkin_statement, location, comments, tags, keyword, title, description, header, example_rows) ⇒ ExamplesTable
Returns a new instance of ExamplesTable.
14 15 16 17 18 19 20 21 22 23 24 |
# File 'lib/cucumber/core/ast/examples_table.rb', line 14 def initialize(gherkin_statement, location, comments, , keyword, title, description, header, example_rows) @gherkin_statement = gherkin_statement @location = location @comments = comments @tags = @keyword = keyword @title = title @description = description @header = header @example_rows = example_rows end |
Instance Attribute Details
#comments ⇒ Object (readonly)
Returns the value of attribute comments.
26 27 28 |
# File 'lib/cucumber/core/ast/examples_table.rb', line 26 def comments @comments end |
#gherkin_statement ⇒ Object (readonly)
Returns the value of attribute gherkin_statement.
26 27 28 |
# File 'lib/cucumber/core/ast/examples_table.rb', line 26 def gherkin_statement @gherkin_statement end |
#header ⇒ Object (readonly)
Returns the value of attribute header.
26 27 28 |
# File 'lib/cucumber/core/ast/examples_table.rb', line 26 def header @header end |
#keyword ⇒ Object (readonly)
Returns the value of attribute keyword.
26 27 28 |
# File 'lib/cucumber/core/ast/examples_table.rb', line 26 def keyword @keyword end |
#location ⇒ Object (readonly)
Returns the value of attribute location.
26 27 28 |
# File 'lib/cucumber/core/ast/examples_table.rb', line 26 def location @location end |
#tags ⇒ Object (readonly)
Returns the value of attribute tags.
26 27 28 |
# File 'lib/cucumber/core/ast/examples_table.rb', line 26 def @tags end |