 		isSimulator = (identifier == "x86_64" || identifier == "i386")
 
 		if let simulatorIdentifier = ProcessInfo.processInfo.environment["SIMULATOR_MODEL_IDENTIFIER"],
-			isSimulator {
+		   isSimulator {
 			identifier = simulatorIdentifier
 		}
 


		let range = NSRange(location: 0, length: identifier.count)
		let rawFamily = regex.stringByReplacingMatches(in: identifier,
													   options: [],
													   range: range,
													   withTemplate: "$1")
		family = Family(rawValue: rawFamily)

		let modelString = regex.stringByReplacingMatches(in: identifier,
														 options: [],
														 range: range,
														 withTemplate: "$2.$4")

		let modelComponents = modelString.components(separatedBy: ".")

		guard let majorString = modelComponents.first,
			let minorString = modelComponents.last
		else {
			return
		}


	public static func ==(lhs: RawDevice, rhs: RawDevice) -> Bool {
		return lhs.major == rhs.major &&
		       lhs.minor == rhs.minor &&
		       lhs.family == rhs.family
	}

}
