Advertisement
Guest User

Untitled

a guest
Apr 17th, 2014
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. object TokenType extends Enumeration {
  2.  
  3. type TokenType = Value
  4.  
  5. val Activation = Value("activation")
  6. val Authentication = Value("authentication")
  7. val Reset = Value("reset")
  8. }
  9.  
  10. scala> val str = Reset.toString
  11. str: String = reset
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement