Robert Klemme wrote:
> 2009/6/9 Rob Biedenharn <Rob / agileconsultingllc.com>:
>>> File.open("output.txt", "w") do |file|
>>> Dir.chdir("L:/png/69000")
>> ?file.puts files.join("\n")
>> or iterate on the files:
>> ?files.each do |pngfilename|
>> ? ?file.puts pngfilename
>> ?end
> 
> It's even simpler:
> 
> file.puts files
> 
> Kind regards
> 
> robert

Wow. Sometimes Ruby is too beautifully simple.
Thanks, Robert.
Peter
-- 
Posted via http://www.ruby-forum.com/.