close

dir.close â nil
Instance Public methods

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

d = Dir.new("testdir")
d.close   #=> nil
doc_ruby_on_rails
2015-04-03 12:20:42
Comments
Leave a Comment

Please login to continue.