Hello,
i want to write all files from my local directory in an array.
Something like (not working):
d = Dir.new("/Volumes/System/")
d.each {|x| file_list.push(x) }
How can i push single filenames through d.each into an array?
Thanks a lot in advance!
···
--
Posted via http://www.ruby-forum.com/.