Last active
December 26, 2015 04:39
-
-
Save BrianMehrman/7095426 to your computer and use it in GitHub Desktop.
Make a Beer Songex. BeerSong.rb 100
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
| limit = ARGV[0].to_i | |
| limit.times {|i| system "say #{limit-i} bottles of beer on the wall, #{limit-i} bottles of beer. Take one down, pass it around, #{limit-(i+1)} bottles of beer on the wall."} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment