Class: Gherkin::Formatter::Model::ExamplesTableRow

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

Instance Attribute Summary collapse

Attributes inherited from Row

#cells, #comments, #line

Instance Method Summary collapse

Methods inherited from Hashable

#to_hash

Constructor Details

#initialize(comments, cells, line, id) ⇒ ExamplesTableRow

Returns a new instance of ExamplesTableRow


246
247
248
249
# File 'lib/gherkin/formatter/model.rb', line 246

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

Instance Attribute Details

#idObject (readonly)

Returns the value of attribute id


244
245
246
# File 'lib/gherkin/formatter/model.rb', line 244

def id
  @id
end