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 178
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 188
def name_statement
  "#{keyword} #{name}"
end
statements() click to toggle source
# File lib/cucumber/core/gherkin/writer.rb, line 184
def statements
  prepare_statements comments_statement, name_statement
end