Here’s a question I never thought I’d have to ask – how do I close a
file descriptor opened via IO.sysopen ?
-mental
Here’s a question I never thought I’d have to ask – how do I close a
file descriptor opened via IO.sysopen ?
-mental
On Apr 24, 2007, at 5:45 PM, MenTaLguY wrote:
Here’s a question I never thought I’d have to ask – how do I close
a file descriptor opened via IO.sysopen ?
IO.new(IO.sysopen(path)).close
Seems a bit round-about though.
Gary W.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs