Created
May 10, 2013 23:45
-
-
Save takkanm/5558278 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
ken = 'けん' | |
prefixes = %w(さん くん ちゃん) | |
loop do | |
if (ken + (prefix = prefixes.sample)).size < 140 | |
ken << prefix | |
else | |
break | |
end | |
end | |
puts ken + '…' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment