Re: Tempfile strangeness

From: matz@... (Yukihiro Matsumoto)
Date: 2004-05-07 00:23:04 UTC
List: ruby-core #2856
Hi,

In message "Re: Tempfile strangeness"
    on 04/05/06, "Berger, Daniel" <djberge@qwest.com> writes:

|Another alternative is to wrap "closed? or close" in a "if
|File::ALT_SEPARATOR; end".  I would prefer this to having to rescue it
|myself.

If you close the handle for the temporary file, you can no longer have
access to the file.  I don't think it's OK.

							matz.

In This Thread

Prev Next