class Gherkin::Formatter::Model::Scenario

Public Class Methods

new(comments, tags, keyword, name, description, line, id) click to toggle source
# File lib/gherkin/formatter/model.rb, line 71
def initialize(comments, tags, keyword, name, description, line, id)
  super(comments, tags, keyword, name, description, line, id)
  @type = "scenario"
end

Public Instance Methods

replay(formatter) click to toggle source
# File lib/gherkin/formatter/model.rb, line 76
def replay(formatter)
  formatter.scenario(self)
end