Skip to content

Instantly share code, notes, and snippets.

@zunda
Forked from takkanm/gist:5558278
Created May 11, 2013 01:04
Show Gist options
  • Save zunda/5558485 to your computer and use it in GitHub Desktop.
Save zunda/5558485 to your computer and use it in GitHub Desktop.
ken = 'けん'
prefixes = %w(さん くん ちゃん)
loop do
prefix = prefixes.sample
break if ken.size + prefix.size >= 140
ken << prefix
end
puts ken + '…'
@zunda
Copy link
Author

zunda commented May 11, 2013

てかうしろに付くのはpostfix?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment