# File test/tc_screen_dumps.rb, line 8 def save_screendump(bytes) filename="#{IMAGE_TEST_DIR}//#{@@counter}.png" file=File.new(filename,"wb") file<<bytes file.close @@counter+=1 end