Class: Gherkin::Formatter::Model::Row
- Defined in:
- lib/gherkin/formatter/model.rb
Instance Attribute Summary collapse
-
#cells ⇒ Object
readonly
Returns the value of attribute cells.
-
#comments ⇒ Object
readonly
Returns the value of attribute comments.
-
#line ⇒ Object
readonly
Returns the value of attribute line.
Instance Method Summary collapse
-
#initialize(comments, cells, line) ⇒ Row
constructor
A new instance of Row.
Methods inherited from Hashable
Constructor Details
#initialize(comments, cells, line) ⇒ Row
Returns a new instance of Row.
202 203 204 |
# File 'lib/gherkin/formatter/model.rb', line 202 def initialize(comments, cells, line) @comments, @cells, @line = comments, cells, line end |
Instance Attribute Details
#cells ⇒ Object (readonly)
Returns the value of attribute cells.
200 201 202 |
# File 'lib/gherkin/formatter/model.rb', line 200 def cells @cells end |
#comments ⇒ Object (readonly)
Returns the value of attribute comments.
200 201 202 |
# File 'lib/gherkin/formatter/model.rb', line 200 def comments @comments end |
#line ⇒ Object (readonly)
Returns the value of attribute line.
200 201 202 |
# File 'lib/gherkin/formatter/model.rb', line 200 def line @line end |