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
Direct Known Subclasses
Defined Under Namespace
Instance Attribute Summary collapse
-
#comments ⇒ Object
readonly
Returns the value of attribute comments.
-
#example_rows ⇒ Object
readonly
Returns the value of attribute example_rows.
-
#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.
Attributes included from Names
Instance Method Summary collapse
-
#initialize(location, comments, tags, keyword, name, description, header, example_rows) ⇒ ExamplesTable
constructor
A new instance of ExamplesTable.
Methods included from DescribesItself
Methods included from HasLocation
#all_locations, #attributes, #file, #file_colon_line, #line, #multiline_arg
Methods included from Names
#inspect, #legacy_conflated_name_and_description, #to_s
Constructor Details
#initialize(location, comments, tags, keyword, name, description, header, example_rows) ⇒ ExamplesTable
Returns a new instance of ExamplesTable.
14 15 16 17 18 19 20 21 22 23 |
# File 'lib/cucumber/core/ast/examples_table.rb', line 14 def initialize(location, comments, , keyword, name, description, header, example_rows) @location = location @comments = comments @tags = @keyword = keyword @name = name @description = description @header = header @example_rows = example_rows end |
Instance Attribute Details
#comments ⇒ Object (readonly)
Returns the value of attribute comments.
25 26 27 |
# File 'lib/cucumber/core/ast/examples_table.rb', line 25 def comments @comments end |
#example_rows ⇒ Object (readonly)
Returns the value of attribute example_rows.
25 26 27 |
# File 'lib/cucumber/core/ast/examples_table.rb', line 25 def example_rows @example_rows end |
#header ⇒ Object (readonly)
Returns the value of attribute header.
25 26 27 |
# File 'lib/cucumber/core/ast/examples_table.rb', line 25 def header @header end |
#keyword ⇒ Object (readonly)
Returns the value of attribute keyword.
25 26 27 |
# File 'lib/cucumber/core/ast/examples_table.rb', line 25 def keyword @keyword end |
#location ⇒ Object (readonly)
Returns the value of attribute location.
25 26 27 |
# File 'lib/cucumber/core/ast/examples_table.rb', line 25 def location @location end |
#tags ⇒ Object (readonly)
Returns the value of attribute tags.
25 26 27 |
# File 'lib/cucumber/core/ast/examples_table.rb', line 25 def @tags end |