Checking to see if a file is open (newbie)?

I'm almost embarassed to ask this, but does Ruby have any method (e.g.
File.open?) to check to see if a file is open? I see many methods in
File class, but nothing that addresses this directly. I googled it a
number of times and could not find a answer to this (dumb) question.....

···

--
Posted via http://www.ruby-forum.com/.

File#closed?

···

On Wed, Jul 30, 2008 at 6:21 PM, Thomas Luedeke <thomas.luedeke@areva.com> wrote:

I'm almost embarassed to ask this, but does Ruby have any method (e.g.
File.open?) to check to see if a file is open? I see many methods in
File class, but nothing that addresses this directly. I googled it a
number of times and could not find a answer to this (dumb) question.....