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.



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

#cellsObject (readonly)

Returns the value of attribute cells.



200
201
202
# File 'lib/gherkin/formatter/model.rb', line 200

def cells
  @cells
end

#commentsObject (readonly)

Returns the value of attribute comments.



200
201
202
# File 'lib/gherkin/formatter/model.rb', line 200

def comments
  @comments
end

#lineObject (readonly)

Returns the value of attribute line.



200
201
202
# File 'lib/gherkin/formatter/model.rb', line 200

def line
  @line
end