17 lines
259 B
Swift
Raw Normal View History

public enum Artifact: String {
case executable
case image
}
// MARK: - Randomable
extension Artifact: Randomable {
// MARK: Functions
static func random() -> Artifact {
.allCases.randomElement() ?? .executable
}
}