class Cucumber::Formatter::DurationExtractor

def duration(duration, *)

def duration(duration, *)
  duration.tap { |dur| @result_duration = dur.nanoseconds / 10**9.0 }
end

def embed(*) end

def embed(*) end

def exception(*) end

def exception(*) end

def failed(*) end

def failed(*) end

def initialize(result)

def initialize(result)
  @result_duration = 0
  result.describe_to(self)
end

def passed(*) end

def passed(*) end

def pending(*) end

def pending(*) end

def skipped(*) end

def skipped(*) end

def undefined(*) end

def undefined(*) end