Skip to content

Instantly share code, notes, and snippets.

@iamvery
Created April 14, 2011 20:04
Show Gist options
  • Save iamvery/920357 to your computer and use it in GitHub Desktop.
Save iamvery/920357 to your computer and use it in GitHub Desktop.
Generate a random 3 letter acronym. Doesn't guarantee uniqueness, but this has to be the governments best friend :)
Array.new(3).map { ('A'..'Z').to_a.sample }.join
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment