Class: Gherkin::Formatter::Model::Row

Inherits:
Hashable
  • Object
show all
Defined in:
lib/gherkin/formatter/model.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Hashable

#to_hash

Constructor Details

#initialize(comments, cells, line) ⇒ Row

Returns a new instance of Row.



215
216
217
# File 'lib/gherkin/formatter/model.rb', line 215

def initialize(comments, cells, line)
  @comments, @cells, @line = comments, cells, line
end

Instance Attribute Details

#cellsObject (readonly)

Returns the value of attribute cells.



213
214
215
# File 'lib/gherkin/formatter/model.rb', line 213

def cells
  @cells
end

#commentsObject (readonly)

Returns the value of attribute comments.



213
214
215
# File 'lib/gherkin/formatter/model.rb', line 213

def comments
  @comments
end

#lineObject (readonly)

Returns the value of attribute line.



213
214
215
# File 'lib/gherkin/formatter/model.rb', line 213

def line
  @line
end