Method: Cucumber::Core::Gherkin::Writer::Step#doc_string

Defined in:
lib/cucumber/core/gherkin/writer/step.rb

#doc_string(string, content_type = '') ⇒ Object



20
21
22
# File 'lib/cucumber/core/gherkin/writer/step.rb', line 20

def doc_string(string, content_type = '')
  elements << DocString.new(string, content_type)
end