U:RDoc::NormalClass[iI"Dir:ET@I"Object;To:RDoc::Markup::Document:@parts[o;;[o:RDoc::Markup::Paragraph;[ I"JObjects of class Dir
are directory streams representing ;TI"Jdirectories in the underlying file system. They provide a variety of ;TI";ways to list directories and their contents. See also ;TI"File
.;To:RDoc::Markup::BlankLine o; ;[ I"IThe directory used in these examples contains the two regular files ;TI"B(config.h
and main.rb
), the parent ;TI";directory (..
), and the directory itself ;TI"(.
).;T:
@fileI"
dir.c;T:0@omit_headings_from_table_of_contents_below0o;;[ ;I"lib/tmpdir.rb;T;0;0;0[ [ [[I"Enumerable;To;;[ ;@;0I"
dir.c;T[[I"
class;T[[:public[[I"[];T@%[I"
chdir;T@%[I"chroot;T@%[I"delete;T@%[I"empty?;T@%[I"entries;T@%[I"exist?;T@%[I"exists?;T@%[I"foreach;T@%[I"
getwd;T@%[I" glob;T@%[I" home;T@%[I"
mkdir;T@%[I"
mktmpdir;FI"lib/tmpdir.rb;T[I"new;T@%[I" open;T@%[I"pwd;T@%[I"
rmdir;T@%[I"tmpdir;F@H[I"unlink;T@%[:protected[ [:private[ [I"
instance;T[[;
[[I"
close;T@%[I" each;T@%[I"fileno;T@%[I"inspect;T@%[I" path;T@%[I"pos;T@%[I" pos=;T@%[I" read;T@%[I"rewind;T@%[I" seek;T@%[I" tell;T@%[I"to_path;T@%[;[ [;[ [ [U:RDoc::Context::Section[i 0o;;[ ;0;0[
@I"lib/cgi/session.rb;TI"lib/cgi/session/pstore.rb;TI"lib/drb/unix.rb;TI"lib/tempfile.rb;T@I"*lib/webrick/httpservlet/cgi_runner.rb;TI"+lib/webrick/httpservlet/filehandler.rb;T@cRDoc::TopLevel