Created
June 15, 2014 18:44
-
-
Save chriseidhof/cb1b87f8ca9a35b674c3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
enum PageType { | |
case Markdown | |
case HTML | |
case XML | |
} | |
extension PageType : DebugPrintable { | |
var debugDescription : String { | |
switch self { | |
case .Markdown: return "Markdown" | |
case .HTML: return "HTML" | |
case .XML: return "XML" | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment