R
Revision17
Hi, I'm just starting out with ruby and I'm writing a script to rename
a bunch of files in a directory to a way I want them to be (just to
get more familiar). I've looked at the documentation for the file
class (http://www.rubycentral.com/book/ref_c_file.html), but I can't
seem to find the method I'd use to get all the names of files in a
directory. How can I do this?
Sorry about the ultra simplitic question.
a bunch of files in a directory to a way I want them to be (just to
get more familiar). I've looked at the documentation for the file
class (http://www.rubycentral.com/book/ref_c_file.html), but I can't
seem to find the method I'd use to get all the names of files in a
directory. How can I do this?
Sorry about the ultra simplitic question.