Forum: Ruby Re: Golfing a signature.

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Daniel S. (Guest)
on 2006-05-04 04:40
(Received via mailing list)
Also, somewhere along the line you changed what the program was actually
doing - originally you produced a 20x21 grid, but that got reduced to a

I used this to make sure I didn't change the program during golfing:

require 'stringio'
out = ""
$stdout =

])[e+x[1]]}-[f,u]).size;b[i][e]=(n==2?b[i][e]:n==3?o:f)}};sleep 0.2;end

$stdout = STDOUT

#uncomment this to reset the content of the file."monkeys","w") {|f| f << out }

raise "Different" unless"monkeys") === out
This topic is locked and can not be replied to.