--2uzDqHpccQJpqF2n
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Kurt Euler (keuler / portal.com) wrote:

> Eric-
> 
> Thanks, but could you elaborate? How would you rewrite your line:
> 
>   File.delete(*Dir["*"])
> 
> to specify deleting all files in the directory "output".

You'd want to cwd to the dir first:

Dir.chdir('output')
File.delete(*Dir["*"])

-- 
Eric Hodel - drbrain / segment7.net - http://segment7.net
All messages signed with fingerprint:
FEC2 57F1 D465 EB15 5D6E  7C11 332A 551C 796C 9F04


--2uzDqHpccQJpqF2n
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (FreeBSD)

iD8DBQE+DpZcMypVHHlsnwQRArT8AJ97ErSzND9XSEMC2beJ9xnulN1iwQCfRogK
y7qoNuHx0h5DqocmzFytZBY1Q
-----END PGP SIGNATURE-----

--2uzDqHpccQJpqF2n--