From: Matthew Williams Date: 2009-06-01T13:30:16+09:00 Subject: Re: [QUIZ] Quine (#207) Version 1: The "pretty" one with 'end's require 'rubygems' require 'ruby2ruby' class Quine < Object def initialize puts "require 'rubygems'\nrequire 'ruby2ruby'\n#{Ruby2Ruby.translate self.class}\nQuine.new\n" end end Quine.new Version two, much less maintainable: a="a=%p;puts a%%a";puts a%a Version 3, cheating (unix only): puts `cat #{$0}`