Skip to content

Instantly share code, notes, and snippets.



Created Nov 11, 2017
What would you like to do?
# rand generate 6 numbers in range of 1 to 60, and print ordered
(1..60).sort_by{ rand }[1..6].sort
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment