Created
January 15, 2011 21:51
-
-
Save seanparsons/781304 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
case class MedikitUsed(val name: String, val useAmount: Int) | |
val result = new MedikitUsed("Sean", 0) match { | |
case MedikitUsed(name, 0) => name + " attempted to use none of their medikit and that makes no sense." | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment