class Guard::RSpec::Results
def initialize(filename)
def initialize(filename) lines = File.readlines(filename) if lines.empty? || lines.first.empty? dump = lines.inspect raise InvalidData, "Invalid results in: #{filename},"\ " lines:\n#{dump}\n" end @summary = lines.first.chomp @failed_paths = lines[1..11].map(&:chomp).compact end