class Cucumber::Core::Gherkin::Writer::Step

Public Instance Methods

doc_string(string, content_type='') click to toggle source
# File lib/cucumber/core/gherkin/writer.rb, line 172
def doc_string(string, content_type='')
  elements << DocString.new(string, content_type)
end

Private Instance Methods

name_statement() click to toggle source
# File lib/cucumber/core/gherkin/writer.rb, line 181
def name_statement
  "#{keyword} #{name}"
end
statements() click to toggle source
# File lib/cucumber/core/gherkin/writer.rb, line 177
def statements
  prepare_statements comments_statement, name_statement
end