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

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(comments, cells, line) ⇒ Row

Returns a new instance of Row.



54
55
56
# File 'lib/gherkin/formatter/model.rb', line 54

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

Instance Attribute Details

#cellsObject (readonly)

Returns the value of attribute cells.



52
53
54
# File 'lib/gherkin/formatter/model.rb', line 52

def cells
  @cells
end

#commentsObject (readonly)

Returns the value of attribute comments.



52
53
54
# File 'lib/gherkin/formatter/model.rb', line 52

def comments
  @comments
end

#lineObject (readonly)

Returns the value of attribute line.



52
53
54
# File 'lib/gherkin/formatter/model.rb', line 52

def line
  @line
end