From: Arie Kusuma Atmaja Date: 2007-07-20T11:59:08+09:00 Subject: Re: using "NOT" in File.exists? On 7/19/07, Peter Bailey wrote: > doesn't work in script. . . . > pngthere = not File.exists?("L:/png/#{pngdir}/#{pngfile}") pngthere = (not File.exist?('pngfile')) sayang:~/2 arie$ touch pngfile sayang:~/2 arie$ irb irb(main):001:0> pngthere = (not File.exist?('pngfile')) => false irb(main):002:0> -- Arie || ariekeren, http://ariekusumaatmaja.wordpress.com http://groups.yahoo.com/groups/id-ruby "Never say RTFM. Turn the trolls into committers", Audrey Tang - conisli-ofun.pdf