Class: Gherkin::Formatter::Model::Row
- Defined in:
- lib/gherkin/formatter/model.rb
Direct Known Subclasses
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.
233 234 235 |
# File 'lib/gherkin/formatter/model.rb', line 233 def initialize(comments, cells, line) @comments, @cells, @line = comments, cells, line end |
Instance Attribute Details
#cells ⇒ Object (readonly)
Returns the value of attribute cells.
231 232 233 |
# File 'lib/gherkin/formatter/model.rb', line 231 def cells @cells end |
#comments ⇒ Object (readonly)
Returns the value of attribute comments.
231 232 233 |
# File 'lib/gherkin/formatter/model.rb', line 231 def comments @comments end |
#line ⇒ Object (readonly)
Returns the value of attribute line.
231 232 233 |
# File 'lib/gherkin/formatter/model.rb', line 231 def line @line end |