Flowdock
closed?() public

Returns true if ios is completely closed (for duplex streams, both reader and writer), false otherwise.

   f = File.new("testfile")
   f.close         #=> nil
   f.closed?       #=> true
   f = IO.popen("/bin/sh","r+")
   f.close_write   #=> nil
   f.closed?       #=> false
   f.close_read    #=> nil
   f.closed?       #=> true
Show source
Register or log in to add new notes.