Created
May 29, 2009 22:09
-
-
Save dmerrick/120242 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
#!/usr/bin/env ruby -wKU | |
# Ruby Quiz #207: Quine | |
# This week's quiz is to create a quine[1], that is: a program which | |
# receives no input and produces a copy of its own source code as its | |
# only output. | |
# [1]: http://en.wikipedia.org/wiki/Quine_(computing) | |
# Dana Merrick | |
# 5/29/2009 | |
File.read($0).each { |l| puts l } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment