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

Inherits:
Object
  • Object
show all
Includes:
HasElements, HasOptionsInitializer
Defined in:
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



177
178
179
# File 'lib/cucumber/core/gherkin/writer.rb', line 177

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