--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Closes the directory stream. Any further attempts to access <em>dir</em> will raise an <tt>IOError</tt>. - !ruby/struct:SM::Flow::VERB body: " d = Dir.new("testdir")\n d.close #=> nil\n" full_name: Dir#close is_singleton: false name: close params: | dir.close => nil visibility: public