On Jul 29, 8:24 am, Jon Dale <jdal... / yahoo.com> wrote:
> >> files.each do |f|
> >>   next if f == "." or f == ".."
> >>   FileUtils.copy(dir,newdir)
>
> > You forgot to use f in this line.
>
> Isn't the f covered in the do statement?  I'm not sure how else f would
> be implemented.

FileUtils.copy(f, newdir)