> Dir.glob("*.tif").each do |tiffile|
> ########################
> puts "I got you" unless /tif$/ === tiffile
> ########################
> pdffile = File.basename(tiffile, ".tif") + ".pdf"
> 
> puts "#{tiffile}   #{pdffile}"
> end
> 
> hmm does not seem possible, but try anyway :(
> 
> Cheers
> Robert

Thanks, Robert. I did upgrade to 1.8.6. But, using your suggestion here, 
I get the same. Using my code above, I get the same, too.
...
I got you
VA996.TIF   VA996.TIF.pdf
end
puts
I got you
VA997.TIF   VA997.TIF.pdf
end
puts
I got you
VA998.TIF   VA998.TIF.pdf
end
...
-- 
Posted via http://www.ruby-forum.com/.