Created
January 29, 2013 15:26
-
-
Save hannestyden/4665062 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
p 'Learn everything you need to know about %s by watching %s.' % [ | |
[ 'programming', 'gardening' ], | |
[ 'The Simpsons', 'The Wire', 'Futurama' ], | |
].map(&:sample) | |
# >> "Learn everything you need to know about gardening by watching Futurama." |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment