Module: Cucumber::Core::Gherkin::Writer::HasRows

Included in:
Examples, Table
Defined in:
lib/cucumber/core/gherkin/writer/helpers.rb

Instance Method Summary collapse

Instance Method Details

#row(*cells) ⇒ Object



142
143
144
# File 'lib/cucumber/core/gherkin/writer/helpers.rb', line 142

def row(*cells)
  rows << cells
end

#rowsObject



146
147
148
# File 'lib/cucumber/core/gherkin/writer/helpers.rb', line 146

def rows
  @rows ||= []
end