From: brad smith Date: 2012-10-29T02:57:32+09:00 Subject: Re: Passing folder as argument ARGV? How are you traversing the directory you pass in on the command line ? On Sun, Oct 28, 2012 at 1:21 PM, Joz Private wrote: > Is there an easy way to pass multiple files on the command line? > > I stuck all my files into a folder and passed the folder name as an > argument. > In my code then I assign a variable to ARGV, my_var = ARGV, and then > iterate through each element in ARGV to access all the files. > > But it doesn't work and I get an error message. Is there an easy way to > do this? > > -- > Posted via http://www.ruby-forum.com/. >