From: Daniel Stephens Date: 2013-05-09T08:21:08+09:00 Subject: Re: Problem with FileUtils move command. --001a11c20c9e3f68e304dc3d30de Content-Type: text/plain; charset=ISO-8859-1 excellent thanks Matthew! On Wed, May 8, 2013 at 4:17 PM, Matthew Kerwin wrote: > > On May 9, 2013 2:51 AM, "Daniel Stephens" > wrote: > > > > Maybe it's not in [0]?? Drop that loop at the top of your script as well > and lets see what we get. > > > > ARGV.each do |arg| > > puts "Argument: #{arg}" > > end > > Pro tip: When debugging vars that may be nil, use #p instead of #puts. You > get much more useful output, e.g.: > > p ARGV[0] #=> nil > p ARGV #=> [] > > Sent from my phone, so excuse the typos. > --001a11c20c9e3f68e304dc3d30de Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
excellent thanks Matthew!
--001a11c20c9e3f68e304dc3d30de--