Last active
August 29, 2015 14:04
-
-
Save shinka-cb/48915e1b5d11e4017e82 to your computer and use it in GitHub Desktop.
Infinite Beer
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
class Array | |
def pop # Overrides original Array class | |
"🍺" # Just Beer | |
end | |
end | |
beerstack = Array.new | |
loop do | |
print beerstack.pop | |
end |
Yeah. In my town, it's too hot to work. I'm always feeling like drinking in these days :-)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I wish my computer could magically turn virtual beer into real one 🍻