# File lib/cucumber/formatter/duration_extractor.rb, line 6 def initialize(result) @result_duration = 0 result.describe_to(self) end
# File lib/cucumber/formatter/duration_extractor.rb, line 23 def duration(duration, *) duration.tap { |duration| @result_duration = duration.nanoseconds / 10**9.0 } end
# File lib/cucumber/formatter/duration_extractor.rb, line 21 def exception(*) end
# File lib/cucumber/formatter/duration_extractor.rb, line 13 def failed(*) end
# File lib/cucumber/formatter/duration_extractor.rb, line 11 def passed(*) end
# File lib/cucumber/formatter/duration_extractor.rb, line 19 def pending(*) end
# File lib/cucumber/formatter/duration_extractor.rb, line 17 def skipped(*) end
# File lib/cucumber/formatter/duration_extractor.rb, line 15 def undefined(*) end