My Quines are sometimes specialized for Japanese. But to attend RubyConf, I should write "global" Quines.
This quine turns 45 degrees when executed; thus, it will come around when executed eight times (see below). You can make it any-degree turn by giving an integer as an command-line argument.
I get a syntax error in line 1 about the token ')',i don't have much knowledge of ruby,but i want to experience this amazing program,can someone help me?
Crane: What version of ruby are you using? I tested it with ruby 1.8.7-p72 and 1.9.2-p0.







