Last active
August 29, 2015 14:07
Revisions
-
domgetter revised this gist
Oct 17, 2014 . 1 changed file with 2 additions and 6 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,7 +1,3 @@ def random_consonant ([*"b".."z"] - ["e", "i", "o", "u"]).sample end -
José Ignacio Amelivia Santiago created this gist
Oct 17, 2014 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,7 @@ getRandomConsonant randLetter = (rand(25)+97).chr while (isCharVowel(randLetter)) do randLetter = (rand(25)+97).chr end return randLetter end