class Gherkin::Formatter::Model::Background

Public Class Methods

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

Public Instance Methods

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