From: Daniel Carrera Date: 2003-06-22T02:38:35+09:00 Subject: Re: [Q] How to test if a file exists? -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Sorry, stupid question. It is "File.exists?". FEATURE REQUEST: Add "File.exists?" to ri. Currently ri does not list File.exists? under the File class methods. On Sun, Jun 22, 2003 at 02:33:25AM +0900, Daniel Carrera wrote: > Hi, > > I want to test for the existence of a file. I'd expect to find a method > like File.exists, but there isn't one. There must be a way to do this. > > Does anyone know how? > > -- > Daniel Carrera | OpenPGP fingerprint: > Graduate TA, Math Dept | 6643 8C8B 3522 66CB D16C D779 2FDD 7DAC 9AF7 7A88 > UMD (301) 405-5137 | http://www.math.umd.edu/~dcarrera/pgp.html - -- Daniel Carrera | OpenPGP fingerprint: Graduate TA, Math Dept | 6643 8C8B 3522 66CB D16C D779 2FDD 7DAC 9AF7 7A88 UMD (301) 405-5137 | http://www.math.umd.edu/~dcarrera/pgp.html -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (SunOS) iD8DBQE+9JgVnxE8DWHf+OcRAp4kAJ9cmQWVwVH+gqOS++3vhFqzmuxr5ACg7gMb 9o3J9gGI/o8uU/BjYrt7Na0= =MVOQ -----END PGP SIGNATURE-----