From: Bill Kelly Date: 2002-08-21T10:52:49+09:00 Subject: Re: quines (again) From: "Joel VanderWerf" > > Bill Kelly wrote: > > Hi, > > > > Sorry if this is annoying, 'cause I know we've done quines before, > > but I just came up with this one, and was all "stoked and stuff" > > (to use 80's southern california vernacular ;) > > > > p eval _="print 'p eval _=';_" > > Dude, that's tubular. (Sorry, I'm from CA.) > > Is that the smallest ruby quine that anyone's seen? Just realized we could zap the space after the print.... to nitpick my own quine, as it were ;) (I was also thinking, wouldn't it be funny if Matz surreptitiously, in some future language revision slipped the following into the core: class Object def quine; puts "quine"; end end ;-) Regards, Bill