Last active
May 9, 2018 12:56
-
-
Save daninfpj/deb7c55579a8c7df3c222178382d67b5 to your computer and use it in GitHub Desktop.
Generate random code
This file contains hidden or 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
chars = ('a'..'z').to_a + (0..9).to_a | |
chars.shuffle.sample(4).join |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment