Created
August 21, 2012 00:36
-
-
Save mccv/3409908 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
def mrrrrrmmmmmmrrrr | |
str = ''; upper = true; m = true | |
(rand(30) + 30).times do | |
upper = !upper if rand < 0.3 | |
m = !m if rand < 0.3 | |
str << lambda {|ch| upper ? ch.upcase : ch}.call(m ? 'm' : 'r') | |
end | |
str | |
end | |
def printmr | |
while(1) do | |
`say -v Ralph #{mrrrrrmmmmmmrrrr}` | |
end | |
end | |
printmr |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment