Created
November 14, 2013 23:13
-
-
Save ashleygwilliams/7476134 to your computer and use it in GitHub Desktop.
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
def fizzbuzz_rand_sequence15_0123 | |
(0..99).map {|i| srand(1781773465) if (i%15).zero?; [i+1, "Fizz", "Buzz", "FizzBuzz"][rand(4)]} | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment