Class: Flaky::LogParser
- Inherits:
-
Object
- Object
- Flaky::LogParser
- Defined in:
- lib/flaky/log_parser.rb
Defined Under Namespace
Instance Method Summary collapse
Instance Method Details
#parse(raw_log) ⇒ Object
8 9 10 11 12 13 14 15 16 17 18 |
# File 'lib/flaky/log_parser.rb', line 8 def parse(raw_log) log = normalize(raw_log) Result.new( seed: extract_seed(log), example_count: extract_example_count(log), failure_count: extract_failure_count(log), duration_seconds: extract_duration(log), failures: extract_failures(log) ) end |