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.
15 16 17 18 19 20 21 22 23 24 |
# File 'lib/cucumber/core/ast/examples_table.rb', line 15 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.
26 27 28 |
# File 'lib/cucumber/core/ast/examples_table.rb', line 26 def comments @comments end |
#example_rows ⇒ Object (readonly)
Returns the value of attribute example_rows.
26 27 28 |
# File 'lib/cucumber/core/ast/examples_table.rb', line 26 def example_rows @example_rows 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 |