Method: Password.get_vowel_or_consonant
- Defined in:
- lib/password.rb
.get_vowel_or_consonant ⇒ Object
Determine whether next character should be a vowel or consonant.
241 242 243 |
# File 'lib/password.rb', line 241 def Password.get_vowel_or_consonant rand( 2 ) == 1 ? VOWEL : CONSONANT end |