class Cucumber::Core::Test::Result::Failed

def describe_to(visitor, *args)

def describe_to(visitor, *args)
  visitor.failed(*args)
  visitor.duration(duration, *args)
  visitor.exception(exception, *args) if exception
  self
end

def initialize(duration, exception)

def initialize(duration, exception)
  raise ArgumentError unless duration 
  raise ArgumentError unless exception
  super
end

def to_s

def to_s
  "✗"
end

def with_duration(new_duration)

def with_duration(new_duration)
  self.class.new(new_duration, exception)
end