From: Zayd Connor Date: 2009-02-04T13:40:36+09:00 Subject: Re: Which File Classto use Julian Leviston wrote: > Best thing to do is build your program one step at a time. Pick one > feature - say asking number of iterations and doing the loop, putting > a print command to simply show that it's doing something in mock of > the actual code for creating folders and files. Then add the next > thing. Use irb to experiment with the classes to test things out. For > instance, to find out how to use the file class, open irb then ask > File what methods it responds to with File.methods, then try some out. > > Blog: http://random8.zenunit.com/ > Learn rails: http://sensei.zenunit.com/ Thanks!!! Im guessing I can create an array of those iterations? I see that there are a bunch of file classes, and some carry more methods then others, im also guessing that i would be using of. Ourse the file method and use say require 'FileUtil' to access more methods that are not in the File class. Please correct me if im wrong :) -- Posted via http://www.ruby-forum.com/.