Created
November 1, 2012 16:06
-
-
Save awd/3994607 to your computer and use it in GitHub Desktop.
how to determine one name vs another..
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
selections = [] | |
1000.times { selections << ["manage", "settings"].sample } | |
selections.select { |s| s == "manage" }.size > selections.select { |s| s == "settings" }.size |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment