instance method Dir#close

close -> nil[permalink][rdoc][edit]

ディレクトリストリームをクローズします。クローズに成功すれば nil を返します。



d = Dir.new(".")
d.close  # => nil