# File lib/simplecov/result.rb, line 102 def self.from_hash(hash) command_name, data = hash.first result = SimpleCov::Result.new(data[:original_result]) result.command_name = command_name result.created_at = data[:created_at] result end