CLI tool for generating memorable passwords
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
weeapass/src/Syllable.scala

12 lines
333 B

/**
* Created with IntelliJ IDEA.
* User: jcd
* Date: 4/25/13
* Time: 9:49 PM
*/
class Syllable (val consonant: String, val vowel: String, val isYouon: Boolean){
val value: String = consonant + vowel
val consonantOnly : Boolean = vowel == "n"
val vowelOnly : Boolean = consonant == ""
override def toString:String = value
}