Re: Golfing a signature

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 forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs