class Gherkin::Formatter::Model::Result

Attributes

duration[R]
error_message[R]
status[R]

Public Class Methods

new(status, duration, error_message) click to toggle source
# File lib/gherkin/formatter/model.rb, line 271
def initialize(status, duration, error_message)
  @status, @duration, @error_message = status, duration, error_message
end

Public Instance Methods

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