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

Included in:
Examples, Table
Defined in:
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/cucumber-core-11.0.0/lib/cucumber/core/gherkin/writer/helpers.rb

Instance Method Summary collapse

Instance Method Details

#row(*cells) ⇒ Object



138
139
140
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/cucumber-core-11.0.0/lib/cucumber/core/gherkin/writer/helpers.rb', line 138

def row(*cells)
  rows << cells
end

#rowsObject



142
143
144
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/cucumber-core-11.0.0/lib/cucumber/core/gherkin/writer/helpers.rb', line 142

def rows
  @rows ||= []
end