Class: Cucumber::Core::Gherkin::Writer::Step

Inherits:
Object
  • Object
show all
Includes:
HasElements, HasOptionsInitializer
Defined in:
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/cucumber-core-11.0.0/lib/cucumber/core/gherkin/writer.rb

Instance Method Summary collapse

Methods included from HasOptionsInitializer

included, #initialize

Methods included from HasElements

#build, included

Methods included from AcceptsComments

#comment, #comment_lines, #slurp_comments

Instance Method Details

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



172
173
174
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/cucumber-core-11.0.0/lib/cucumber/core/gherkin/writer.rb', line 172

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