Skip to content

Instantly share code, notes, and snippets.

View mccv's full-sized avatar

Mark McBride mccv

View GitHub Profile
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