class Cucumber::Core::Gherkin::Writer::Examples

Public Instance Methods

build(source) click to toggle source
# File lib/cucumber/core/gherkin/writer.rb, line 240
def build(source)
  source + statements
end

Private Instance Methods

statements() click to toggle source
# File lib/cucumber/core/gherkin/writer.rb, line 245
def statements
  prepare_statements(
    NEW_LINE,
    comments_statement,
    tag_statement,
    name_statement,
    description_statement,
    row_statements(2)
  )
end