Class: CucumberJunitToJson::Models::Rows
- Inherits:
-
Object
- Object
- CucumberJunitToJson::Models::Rows
- Defined in:
- lib/cucumber_junit_to_json/models/rows.rb
Overview
Abstract representation of a cucumber step table rows attribute
Instance Attribute Summary collapse
-
#cells ⇒ Object
Returns the value of attribute cells.
-
#line ⇒ Object
Returns the value of attribute line.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(cells, line = 0) ⇒ Rows
constructor
A new instance of Rows.
Constructor Details
#initialize(cells, line = 0) ⇒ Rows
Returns a new instance of Rows.
10 11 12 13 |
# File 'lib/cucumber_junit_to_json/models/rows.rb', line 10 def initialize(cells, line = 0) @cells = cells @line = line end |
Instance Attribute Details
#cells ⇒ Object
Returns the value of attribute cells.
9 10 11 |
# File 'lib/cucumber_junit_to_json/models/rows.rb', line 9 def cells @cells end |
#line ⇒ Object
Returns the value of attribute line.
9 10 11 |
# File 'lib/cucumber_junit_to_json/models/rows.rb', line 9 def line @line end |