close() public

Closes the directory stream. Any further attempts to access dir will raise an IOError.

   d = Dir.new("testdir")
   d.close   #=> nil
Show source
Register or log in to add new notes.