# Ruby 53

Tried to make an incremental version of [this](http://www.justskins.com/forums/shortest-nozero-ruby-quine-122609.html) (via [this][1]), but it didn't quite turn out the way I wanted.

    c=2
    puts "c=#{c}+1",<<2*c,2
    puts "c=#{c}+1",<<2*c,2
    2


`c` isn't incremented after the second run. Instead the number of times that `puts`-line is printed grows somewhat exponentially:

    $ ruby quine.rb | ruby | ruby | ruby
    c=2+1
    puts "c=2+1",<<2*c,2
    puts "c=2+1",<<2*c,2
    puts "c=2+1",<<2*c,2
    puts "c=2+1",<<2*c,2
    puts "c=2+1",<<2*c,2
    puts "c=2+1",<<2*c,2
    puts "c=2+1",<<2*c,2
    puts "c=2+1",<<2*c,2
    puts "c=2+1",<<2*c,2
    puts "c=2+1",<<2*c,2
    puts "c=2+1",<<2*c,2
    puts "c=2+1",<<2*c,2
    puts "c=2+1",<<2*c,2
    puts "c=2+1",<<2*c,2
    puts "c=2+1",<<2*c,2
    2
        

  [1]: http://stackoverflow.com/questions/2474861/shortest-ruby-quine