ÿØÿà JFIF    ÿÛ „ ( %!1!%*+...983,7(-.- realdirpath-i.ri000064400000001035152352604010007622 0ustar00U:RDoc::AnyMethod[iI"realdirpath:ETI"Pathname#realdirpath;TF: publico:RDoc::Markup::Document: @parts[ o:RDoc::Markup::Paragraph; [I"MReturns the real (absolute) pathname of +self+ in the actual filesystem.;To:RDoc::Markup::BlankLineo; ; [I"=Does not contain symlinks or useless dots, +..+ and +.+.;T@o; ; [I"@The last component of the real pathname can be nonexistent.;T: @fileI"ext/pathname/pathname.c;T:0@omit_headings_from_table_of_contents_below000[I"(p1 = v1);T@FI" Pathname;TcRDoc::NormalClass00executable_real%3f-i.ri000064400000000510152352604010010742 0ustar00U:RDoc::AnyMethod[iI"executable_real?:ETI"Pathname#executable_real?;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"#See FileTest.executable_real?.;T: @fileI"ext/pathname/pathname.c;T:0@omit_headings_from_table_of_contents_below000[I"();T@FI" Pathname;TcRDoc::NormalClass00symlink%3f-i.ri000064400000000460152352604010007310 0ustar00U:RDoc::AnyMethod[iI" symlink?:ETI"Pathname#symlink?;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"See FileTest.symlink?.;T: @fileI"ext/pathname/pathname.c;T:0@omit_headings_from_table_of_contents_below000[I"();T@FI" Pathname;TcRDoc::NormalClass00each_child-i.ri000064400000003063152352604010007371 0ustar00U:RDoc::AnyMethod[iI"each_child:EFI"Pathname#each_child;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"1Iterates over the children of the directory ;TI"/(files and subdirectories, not recursive).;To:RDoc::Markup::BlankLineo; ; [I".It yields Pathname object for each child.;T@o; ; [I"NBy default, the yielded pathnames will have enough information to access ;TI"the files.;T@o; ; [I"NIf you set +with_directory+ to +false+, then the returned pathnames will ;TI"contain the filename only.;T@o:RDoc::Markup::Verbatim; [I"2Pathname("/usr/local").each_child {|f| p f } ;TI"&#=> # ;TI"$# # ;TI"&# # ;TI"$# # ;TI"(# # ;TI"%# # ;TI"$# # ;TI"$# # ;TI" ;TI"9Pathname("/usr/local").each_child(false) {|f| p f } ;TI"#=> # ;TI"# # ;TI"# # ;TI"# # ;TI"# # ;TI"# # ;TI"# # ;TI"# # ;T: @format0o; ; [I"ENote that the results never contain the entries +.+ and +..+ in ;TI"1the directory because they are not children.;T@o; ; [I"See Pathname#children;T: @fileI"!ext/pathname/lib/pathname.rb;T:0@omit_headings_from_table_of_contents_below000[I"(with_directory=true, &b);T@7FI" Pathname;TcRDoc::NormalClass00world_readable%3f-i.ri000064400000000505152352604010010570 0ustar00U:RDoc::AnyMethod[iI"world_readable?:ETI"Pathname#world_readable?;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I""See FileTest.world_readable?.;T: @fileI"ext/pathname/pathname.c;T:0@omit_headings_from_table_of_contents_below000[I"();T@FI" Pathname;TcRDoc::NormalClass00to_path-i.ri000064400000000721152352604010006762 0ustar00U:RDoc::AnyMethod[iI" to_path:ETI"Pathname#to_path;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"!Return the path as a String.;To:RDoc::Markup::BlankLineo; ; [I"Oto_path is implemented so Pathname objects are usable with File.open, etc.;T: @fileI"ext/pathname/pathname.c;T:0@omit_headings_from_table_of_contents_below0I"(pathname.to_path -> string;T0[I"();T@FI" Pathname;TcRDoc::NormalClass00readable_real%3f-i.ri000064400000000502152352604010010361 0ustar00U:RDoc::AnyMethod[iI"readable_real?:ETI"Pathname#readable_real?;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"!See FileTest.readable_real?.;T: @fileI"ext/pathname/pathname.c;T:0@omit_headings_from_table_of_contents_below000[I"();T@FI" Pathname;TcRDoc::NormalClass00ascend-i.ri000064400000001661152352604010006565 0ustar00U:RDoc::AnyMethod[iI" ascend:EFI"Pathname#ascend;TF: publico:RDoc::Markup::Document: @parts[ o:RDoc::Markup::Paragraph; [I"4Iterates over and yields a new Pathname object ;TI";for each element in the given path in ascending order.;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim; [I" ;TI"" # ;TI" # ;TI" # ;TI" # ;TI" ;TI";Pathname.new('path/to/some/file.rb').ascend {|v| p v} ;TI") # ;TI"! # ;TI" # ;TI" # ;T: @format0o; ; [I"&It doesn't access the filesystem.;T: @fileI"!ext/pathname/lib/pathname.rb;T:0@omit_headings_from_table_of_contents_below00I" self;T[I"();T@!FI" Pathname;TcRDoc::NormalClass00ftype-i.ri000064400000000642152352604010006455 0ustar00U:RDoc::AnyMethod[iI" ftype:ETI"Pathname#ftype;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"7Returns "type" of file ("file", "directory", etc).;To:RDoc::Markup::BlankLineo; ; [I"See File.ftype.;T: @fileI"ext/pathname/pathname.c;T:0@omit_headings_from_table_of_contents_below0I""pathname.ftype -> string ;T0[I"();T@FI" Pathname;TcRDoc::NormalClass00chown-i.ri000064400000000632152352604010006443 0ustar00U:RDoc::AnyMethod[iI" chown:ETI"Pathname#chown;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"(Change owner and group of the file.;To:RDoc::Markup::BlankLineo; ; [I"See File.chown.;T: @fileI"ext/pathname/pathname.c;T:0@omit_headings_from_table_of_contents_below0I"#pathname.chown -> integer ;T0[I" (p1, p2);T@FI" Pathname;TcRDoc::NormalClass00executable%3f-i.ri000064400000000471152352604010007745 0ustar00U:RDoc::AnyMethod[iI"executable?:ETI"Pathname#executable?;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"See FileTest.executable?.;T: @fileI"ext/pathname/pathname.c;T:0@omit_headings_from_table_of_contents_below000[I"();T@FI" Pathname;TcRDoc::NormalClass00sticky%3f-i.ri000064400000000455152352604010007134 0ustar00U:RDoc::AnyMethod[iI" sticky?:ETI"Pathname#sticky?;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"See FileTest.sticky?.;T: @fileI"ext/pathname/pathname.c;T:0@omit_headings_from_table_of_contents_below000[I"();T@FI" Pathname;TcRDoc::NormalClass00exist%3f-i.ri000064400000000452152352604010006757 0ustar00U:RDoc::AnyMethod[iI" exist?:ETI"Pathname#exist?;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"See FileTest.exist?.;T: @fileI"ext/pathname/pathname.c;T:0@omit_headings_from_table_of_contents_below000[I"();T@FI" Pathname;TcRDoc::NormalClass00extname-i.ri000064400000000560152352604010006766 0ustar00U:RDoc::AnyMethod[iI" extname:ETI"Pathname#extname;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I""Returns the file's extension.;To:RDoc::Markup::BlankLineo; ; [I"See File.extname.;T: @fileI"ext/pathname/pathname.c;T:0@omit_headings_from_table_of_contents_below000[I"();T@FI" Pathname;TcRDoc::NormalClass00glob-c.ri000064400000001034152352604010006237 0ustar00U:RDoc::AnyMethod[iI" glob:ETI"Pathname::glob;TT: publico:RDoc::Markup::Document: @parts[ o:RDoc::Markup::Paragraph; [I"(Returns or yields Pathname objects.;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim; [I"%Pathname.glob("config/" "*.rb") ;TI"S #=> [#, #, ..] ;T: @format0o; ; [I"See Dir.glob.;T: @fileI"ext/pathname/pathname.c;T:0@omit_headings_from_table_of_contents_below000[I"(p1, p2 = v2);T@FI" Pathname;TcRDoc::NormalClass00make_link-i.ri000064400000000626152352604010007262 0ustar00U:RDoc::AnyMethod[iI"make_link:ETI"Pathname#make_link;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"'Creates a hard link at _pathname_.;To:RDoc::Markup::BlankLineo; ; [I"See File.link.;T: @fileI"ext/pathname/pathname.c;T:0@omit_headings_from_table_of_contents_below0I"pathname.make_link(old) ;T0[I" (p1);T@FI" Pathname;TcRDoc::NormalClass00file%3f-i.ri000064400000000447152352604010006546 0ustar00U:RDoc::AnyMethod[iI" file?:ETI"Pathname#file?;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"See FileTest.file?.;T: @fileI"ext/pathname/pathname.c;T:0@omit_headings_from_table_of_contents_below000[I"();T@FI" Pathname;TcRDoc::NormalClass00untaint-i.ri000064400000000612152352604010007005 0ustar00U:RDoc::AnyMethod[iI" untaint:ETI"Pathname#untaint;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"Untaints this Pathname.;To:RDoc::Markup::BlankLineo; ; [I"See Object.untaint.;T: @fileI"ext/pathname/pathname.c;T:0@omit_headings_from_table_of_contents_below0I"pathname.untaint -> obj ;T0[I"();T@FI" Pathname;TcRDoc::NormalClass00eql%3f-i.ri000064400000000716152352604010006407 0ustar00U:RDoc::AnyMethod[iI" eql?:ETI"Pathname#eql?;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"JCompare this pathname with +other+. The comparison is string-based. ;TI"QBe aware that two different paths (foo.txt and ./foo.txt) ;TI" can refer to the same file.;T: @fileI"ext/pathname/pathname.c;T:0@omit_headings_from_table_of_contents_below000[I" (p1);T@FI" Pathname;TcRDoc::NormalClass00unlink-i.ri000064400000000574152352604010006632 0ustar00U:RDoc::AnyMethod[iI" unlink:ETI"Pathname#unlink;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"LRemoves a file or directory, using File.unlink if +self+ is a file, or ;TI"Dir.unlink as necessary.;T: @fileI"ext/pathname/pathname.c;T:0@omit_headings_from_table_of_contents_below000[I"();T@FI" Pathname;TcRDoc::NormalClass00root%3f-i.ri000064400000001066152352604010006610 0ustar00U:RDoc::AnyMethod[iI" root?:EFI"Pathname#root?;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"CPredicate method for root directories. Returns +true+ if the ;TI".pathname consists of consecutive slashes.;To:RDoc::Markup::BlankLineo; ; [I"JIt doesn't access the filesystem. So it may return +false+ for some ;TI">pathnames which points to roots such as /usr/...;T: @fileI"!ext/pathname/lib/pathname.rb;T:0@omit_headings_from_table_of_contents_below000[I"();T@FI" Pathname;TcRDoc::NormalClass00new-c.ri000064400000000660152352604010006111 0ustar00U:RDoc::AnyMethod[iI"new:ETI"Pathname::new;TT: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"MCreate a Pathname object from the given String (or String-like object). ;TI"SIf +path+ contains a NULL character (\0), an ArgumentError is raised.;T: @fileI"ext/pathname/pathname.c;T:0@omit_headings_from_table_of_contents_below000[I" (p1);T@FI" Pathname;TcRDoc::NormalClass00expand_path-i.ri000064400000000615152352604010007621 0ustar00U:RDoc::AnyMethod[iI"expand_path:ETI"Pathname#expand_path;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I",Returns the absolute path for the file.;To:RDoc::Markup::BlankLineo; ; [I"See File.expand_path.;T: @fileI"ext/pathname/pathname.c;T:0@omit_headings_from_table_of_contents_below000[I"(p1 = v1);T@FI" Pathname;TcRDoc::NormalClass00parent-i.ri000064400000000613152352604010006615 0ustar00U:RDoc::AnyMethod[iI" parent:EFI"Pathname#parent;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I""Returns the parent directory.;To:RDoc::Markup::BlankLineo; ; [I".This is same as self + '..'.;T: @fileI"!ext/pathname/lib/pathname.rb;T:0@omit_headings_from_table_of_contents_below000[I"();T@FI" Pathname;TcRDoc::NormalClass00freeze-i.ri000064400000000605152352604010006605 0ustar00U:RDoc::AnyMethod[iI" freeze:ETI"Pathname#freeze;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"Freezes this Pathname.;To:RDoc::Markup::BlankLineo; ; [I"See Object.freeze.;T: @fileI"ext/pathname/pathname.c;T:0@omit_headings_from_table_of_contents_below0I"pathname.freeze -> obj ;T0[I"();T@FI" Pathname;TcRDoc::NormalClass00basename-i.ri000064400000000604152352604010007077 0ustar00U:RDoc::AnyMethod[iI" basename:ETI"Pathname#basename;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I",Returns the last component of the path.;To:RDoc::Markup::BlankLineo; ; [I"See File.basename.;T: @fileI"ext/pathname/pathname.c;T:0@omit_headings_from_table_of_contents_below000[I"(p1 = v1);T@FI" Pathname;TcRDoc::NormalClass00chmod-i.ri000064400000000614152352604010006417 0ustar00U:RDoc::AnyMethod[iI" chmod:ETI"Pathname#chmod;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"Changes file permissions.;To:RDoc::Markup::BlankLineo; ; [I"See File.chmod.;T: @fileI"ext/pathname/pathname.c;T:0@omit_headings_from_table_of_contents_below0I"#pathname.chmod -> integer ;T0[I" (p1);T@FI" Pathname;TcRDoc::NormalClass00children-i.ri000064400000002265152352604010007121 0ustar00U:RDoc::AnyMethod[iI" children:EFI"Pathname#children;TF: publico:RDoc::Markup::Document: @parts[ o:RDoc::Markup::Paragraph; [I"JReturns the children of the directory (files and subdirectories, not ;TI"0recursive) as an array of Pathname objects.;To:RDoc::Markup::BlankLineo; ; [I"OBy default, the returned pathnames will have enough information to access ;TI"Jthe files. If you set +with_directory+ to +false+, then the returned ;TI".pathnames will contain the filename only.;T@o; ; [I"For example:;To:RDoc::Markup::Verbatim; [ I"(pn = Pathname("/usr/lib/ruby/1.8") ;TI"pn.children ;TI"7 # -> [ Pathname:/usr/lib/ruby/1.8/English.rb, ;TI"3 Pathname:/usr/lib/ruby/1.8/Env.rb, ;TI"< Pathname:/usr/lib/ruby/1.8/abbrev.rb, ... ] ;TI"pn.children(false) ;TI"P # -> [ Pathname:English.rb, Pathname:Env.rb, Pathname:abbrev.rb, ... ] ;T: @format0o; ; [I"ENote that the results never contain the entries +.+ and +..+ in ;TI"1the directory because they are not children.;T: @fileI"!ext/pathname/lib/pathname.rb;T:0@omit_headings_from_table_of_contents_below000[I"(with_directory=true);T@%FI" Pathname;TcRDoc::NormalClass00writable_real%3f-i.ri000064400000000502152352604010010433 0ustar00U:RDoc::AnyMethod[iI"writable_real?:ETI"Pathname#writable_real?;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"!See FileTest.writable_real?.;T: @fileI"ext/pathname/pathname.c;T:0@omit_headings_from_table_of_contents_below000[I"();T@FI" Pathname;TcRDoc::NormalClass00blockdev%3f-i.ri000064400000000463152352604010007416 0ustar00U:RDoc::AnyMethod[iI"blockdev?:ETI"Pathname#blockdev?;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"See FileTest.blockdev?.;T: @fileI"ext/pathname/pathname.c;T:0@omit_headings_from_table_of_contents_below000[I"();T@FI" Pathname;TcRDoc::NormalClass00directory%3f-i.ri000064400000000466152352604010007634 0ustar00U:RDoc::AnyMethod[iI"directory?:ETI"Pathname#directory?;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"See FileTest.directory?.;T: @fileI"ext/pathname/pathname.c;T:0@omit_headings_from_table_of_contents_below000[I"();T@FI" Pathname;TcRDoc::NormalClass00mkdir-i.ri000064400000000563152352604010006436 0ustar00U:RDoc::AnyMethod[iI" mkdir:ETI"Pathname#mkdir;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"%Create the referenced directory.;To:RDoc::Markup::BlankLineo; ; [I"See Dir.mkdir.;T: @fileI"ext/pathname/pathname.c;T:0@omit_headings_from_table_of_contents_below000[I"(p1 = v1);T@FI" Pathname;TcRDoc::NormalClass00relative_path_from-i.ri000064400000001351152352604010011176 0ustar00U:RDoc::AnyMethod[iI"relative_path_from:EFI" Pathname#relative_path_from;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"MReturns a relative path from the given +base_directory+ to the receiver.;To:RDoc::Markup::BlankLineo; ; [I"GIf +self+ is absolute, then +base_directory+ must be absolute too.;T@o; ; [I"GIf +self+ is relative, then +base_directory+ must be relative too.;T@o; ; [I"HThis method doesn't access the filesystem. It assumes no symlinks.;T@o; ; [I"AArgumentError is raised when it cannot find a relative path.;T: @fileI"!ext/pathname/lib/pathname.rb;T:0@omit_headings_from_table_of_contents_below000[I"(base_directory);T@FI" Pathname;TcRDoc::NormalClass00rename-i.ri000064400000000542152352604010006574 0ustar00U:RDoc::AnyMethod[iI" rename:ETI"Pathname#rename;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"Rename the file.;To:RDoc::Markup::BlankLineo; ; [I"See File.rename.;T: @fileI"ext/pathname/pathname.c;T:0@omit_headings_from_table_of_contents_below000[I" (p1);T@FI" Pathname;TcRDoc::NormalClass00grpowned%3f-i.ri000064400000000463152352604010007452 0ustar00U:RDoc::AnyMethod[iI"grpowned?:ETI"Pathname#grpowned?;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"See FileTest.grpowned?.;T: @fileI"ext/pathname/pathname.c;T:0@omit_headings_from_table_of_contents_below000[I"();T@FI" Pathname;TcRDoc::NormalClass00split-i.ri000064400000000600152352604010006453 0ustar00U:RDoc::AnyMethod[iI" split:ETI"Pathname#split;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"8Returns the #dirname and the #basename in an Array.;To:RDoc::Markup::BlankLineo; ; [I"See File.split.;T: @fileI"ext/pathname/pathname.c;T:0@omit_headings_from_table_of_contents_below000[I"();T@FI" Pathname;TcRDoc::NormalClass00join-i.ri000064400000001305152352604010006262 0ustar00U:RDoc::AnyMethod[iI" join:EFI"Pathname#join;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"KJoins the given pathnames onto +self+ to create a new Pathname object.;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim; [ I"Apath0 = Pathname.new("/usr") # Pathname:/usr ;TI"Jpath0 = path0.join("bin/ruby") # Pathname:/usr/bin/ruby ;TI" # is the same as ;TI"Jpath1 = Pathname.new("/usr") + "bin/ruby" # Pathname:/usr/bin/ruby ;TI"path0 == path1 ;TI" #=> true;T: @format0: @fileI"!ext/pathname/lib/pathname.rb;T:0@omit_headings_from_table_of_contents_below000[I" (*args);T@FI" Pathname;TcRDoc::NormalClass00sub_ext-i.ri000064400000001107152352604010006774 0ustar00U:RDoc::AnyMethod[iI" sub_ext:ETI"Pathname#sub_ext;TF: publico:RDoc::Markup::Document: @parts[ o:RDoc::Markup::Paragraph; [I"EReturn a pathname with +repl+ added as a suffix to the basename.;To:RDoc::Markup::BlankLineo; ; [I"7If self has no extension part, +repl+ is appended.;T@o:RDoc::Markup::Verbatim; [I"6Pathname.new('/usr/bin/shutdown').sub_ext('.rb') ;TI"- #=> #;T: @format0: @fileI"ext/pathname/pathname.c;T:0@omit_headings_from_table_of_contents_below000[I" (p1);T@FI" Pathname;TcRDoc::NormalClass00size-i.ri000064400000000444152352604010006300 0ustar00U:RDoc::AnyMethod[iI" size:ETI"Pathname#size;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"See FileTest.size.;T: @fileI"ext/pathname/pathname.c;T:0@omit_headings_from_table_of_contents_below000[I"();T@FI" Pathname;TcRDoc::NormalClass00truncate-i.ri000064400000000575152352604010007160 0ustar00U:RDoc::AnyMethod[iI" truncate:ETI"Pathname#truncate;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"*Truncates the file to +length+ bytes.;To:RDoc::Markup::BlankLineo; ; [I"See File.truncate.;T: @fileI"ext/pathname/pathname.c;T:0@omit_headings_from_table_of_contents_below000[I" (p1);T@FI" Pathname;TcRDoc::NormalClass00world_writable%3f-i.ri000064400000000505152352604010010642 0ustar00U:RDoc::AnyMethod[iI"world_writable?:ETI"Pathname#world_writable?;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I""See FileTest.world_writable?.;T: @fileI"ext/pathname/pathname.c;T:0@omit_headings_from_table_of_contents_below000[I"();T@FI" Pathname;TcRDoc::NormalClass00mtime-i.ri000064400000000631152352604010006437 0ustar00U:RDoc::AnyMethod[iI" mtime:ETI"Pathname#mtime;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"0Returns the last modified time of the file.;To:RDoc::Markup::BlankLineo; ; [I"See File.mtime.;T: @fileI"ext/pathname/pathname.c;T:0@omit_headings_from_table_of_contents_below0I" pathname.mtime -> time ;T0[I"();T@FI" Pathname;TcRDoc::NormalClass00chardev%3f-i.ri000064400000000460152352604010007236 0ustar00U:RDoc::AnyMethod[iI" chardev?:ETI"Pathname#chardev?;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"See FileTest.chardev?.;T: @fileI"ext/pathname/pathname.c;T:0@omit_headings_from_table_of_contents_below000[I"();T@FI" Pathname;TcRDoc::NormalClass00to_s-i.ri000064400000000713152352604010006271 0ustar00U:RDoc::AnyMethod[iI" to_s:ETI"Pathname#to_s;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"!Return the path as a String.;To:RDoc::Markup::BlankLineo; ; [I"Oto_path is implemented so Pathname objects are usable with File.open, etc.;T: @fileI"ext/pathname/pathname.c;T:0@omit_headings_from_table_of_contents_below0I"(pathname.to_s -> string;T0[I"();T@FI" Pathname;TcRDoc::NormalClass00delete-i.ri000064400000000574152352604010006574 0ustar00U:RDoc::AnyMethod[iI" delete:ETI"Pathname#delete;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"LRemoves a file or directory, using File.unlink if +self+ is a file, or ;TI"Dir.unlink as necessary.;T: @fileI"ext/pathname/pathname.c;T:0@omit_headings_from_table_of_contents_below000[I"();T@FI" Pathname;TcRDoc::NormalClass00socket%3f-i.ri000064400000000455152352604010007116 0ustar00U:RDoc::AnyMethod[iI" socket?:ETI"Pathname#socket?;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"See FileTest.socket?.;T: @fileI"ext/pathname/pathname.c;T:0@omit_headings_from_table_of_contents_below000[I"();T@FI" Pathname;TcRDoc::NormalClass00readlink-i.ri000064400000000551152352604010007116 0ustar00U:RDoc::AnyMethod[iI" readlink:ETI"Pathname#readlink;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"Read symbolic link.;To:RDoc::Markup::BlankLineo; ; [I"See File.readlink.;T: @fileI"ext/pathname/pathname.c;T:0@omit_headings_from_table_of_contents_below000[I"();T@FI" Pathname;TcRDoc::NormalClass00write-i.ri000064400000000757152352604010006467 0ustar00U:RDoc::AnyMethod[iI" write:ETI"Pathname#write;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"#Writes +contents+ to the file.;To:RDoc::Markup::BlankLineo; ; [I"See IO.write.;T: @fileI"ext/pathname/pathname.c;T:0@omit_headings_from_table_of_contents_below0I"lpathname.write(string, [offset] ) => fixnum pathname.write(string, [offset], open_args ) => fixnum ;T0[I" (p1 = v1, p2 = v2, p3 = v3);T@FI" Pathname;TcRDoc::NormalClass00binread-i.ri000064400000000732152352604010006732 0ustar00U:RDoc::AnyMethod[iI" binread:ETI"Pathname#binread;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"HReturns all the bytes from the file, or the first +N+ if specified.;To:RDoc::Markup::BlankLineo; ; [I"See IO.binread.;T: @fileI"ext/pathname/pathname.c;T:0@omit_headings_from_table_of_contents_below0I"5pathname.binread([length [, offset]]) -> string ;T0[I"(p1 = v1, p2 = v2);T@FI" Pathname;TcRDoc::NormalClass00rmdir-i.ri000064400000000554152352604010006445 0ustar00U:RDoc::AnyMethod[iI" rmdir:ETI"Pathname#rmdir;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"%Remove the referenced directory.;To:RDoc::Markup::BlankLineo; ; [I"See Dir.rmdir.;T: @fileI"ext/pathname/pathname.c;T:0@omit_headings_from_table_of_contents_below000[I"();T@FI" Pathname;TcRDoc::NormalClass00binwrite-i.ri000064400000001031152352604010007142 0ustar00U:RDoc::AnyMethod[iI" binwrite:ETI"Pathname#binwrite;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I">Writes +contents+ to the file, opening it in binary mode.;To:RDoc::Markup::BlankLineo; ; [I"See IO.binwrite.;T: @fileI"ext/pathname/pathname.c;T:0@omit_headings_from_table_of_contents_below0I"rpathname.binwrite(string, [offset] ) => fixnum pathname.binwrite(string, [offset], open_args ) => fixnum ;T0[I" (p1 = v1, p2 = v2, p3 = v3);T@FI" Pathname;TcRDoc::NormalClass00cdesc-Pathname.ri000064400000022305152352604010007714 0ustar00U:RDoc::NormalClass[iI" Pathname:ET@I" Object;To:RDoc::Markup::Document: @parts[o;;[: @fileI"!ext/pathname/lib/pathname.rb;T:0@omit_headings_from_table_of_contents_below0o;;[:o:RDoc::Markup::Paragraph;[I"LPathname represents the name of a file or directory on the filesystem, ;TI"but not the file itself.;To:RDoc::Markup::BlankLineo; ;[I"GThe pathname depends on the Operating System: Unix, Windows, etc. ;TI"OThis library works with pathnames of local OS, however non-Unix pathnames ;TI""are supported experimentally.;T@o; ;[I"HA Pathname can be relative or absolute. It's not until you try to ;TI"Lreference the file that it even matters whether the file exists or not.;T@o; ;[I"EPathname is immutable. It has no method for destructive update.;T@o; ;[I"OThe goal of this class is to manipulate file path information in a neater ;TI"Jway than standard Ruby provides. The examples below demonstrate the ;TI"difference.;T@o; ;[I"Q*All* functionality from File, FileTest, and some from Dir and FileUtils is ;TI"Nincluded, in an unsurprising way. It is essentially a facade for all of ;TI"these, and more.;T@S:RDoc::Markup::Heading: leveli: textI" Examples;T@S; ;i;I"Example 1: Using Pathname;T@o:RDoc::Markup::Verbatim;[I"require 'pathname' ;TI"(pn = Pathname.new("/usr/bin/ruby") ;TI")size = pn.size # 27662 ;TI")isdir = pn.directory? # false ;TI"5dir = pn.dirname # Pathname:/usr/bin ;TI"1base = pn.basename # Pathname:ruby ;TI"Fdir, base = pn.split # [Pathname:/usr/bin, Pathname:ruby] ;TI"data = pn.read ;TI"pn.open { |f| _ } ;TI"pn.each_line { |line| _ } ;T: @format0S; ;i;I"#Example 2: Using standard Ruby;T@o;;[I"pn = "/usr/bin/ruby" ;TI")size = File.size(pn) # 27662 ;TI")isdir = File.directory?(pn) # false ;TI".dir = File.dirname(pn) # "/usr/bin" ;TI"*base = File.basename(pn) # "ruby" ;TI"8dir, base = File.split(pn) # ["/usr/bin", "ruby"] ;TI"data = File.read(pn) ;TI"File.open(pn) { |f| _ } ;TI"#File.foreach(pn) { |line| _ } ;T;0S; ;i;I" Example 3: Special features;T@o;;[I"9p1 = Pathname.new("/usr/lib") # Pathname:/usr/lib ;TI"Bp2 = p1 + "ruby/1.8" # Pathname:/usr/lib/ruby/1.8 ;TI"5p3 = p1.parent # Pathname:/usr ;TI"=p4 = p2.relative_path_from(p3) # Pathname:lib/ruby/1.8 ;TI";T@[I"==;T@[I"===;T@[I"absolute?;F@-[I" ascend;F@-[I" atime;T@[I" basename;T@[I" binread;T@[I" binwrite;T@[I"blockdev?;T@[I" chardev?;T@[I" children;F@-[I" chmod;T@[I" chown;T@[I"cleanpath;F@-[I" ctime;T@[I" delete;T@[I" descend;F@-[I"directory?;T@[I" dirname;T@[I"each_child;F@-[I"each_entry;T@[I"each_filename;F@-[I"each_line;T@[I" entries;T@[I" eql?;T@[I"executable?;T@[I"executable_real?;T@[I" exist?;T@[I"expand_path;T@[I" extname;T@[I" file?;T@[I" find;F@-[I" fnmatch;T@[I" fnmatch?;T@[I" freeze;T@[I" ftype;T@[I"grpowned?;T@[I" join;F@-[I" lchmod;T@[I" lchown;T@[I" lstat;T@[I"make_link;T@[I"make_symlink;T@[I" mkdir;T@[I" mkpath;F@-[I"mountpoint?;F@-[I" mtime;T@[I" open;T@[I" opendir;T@[I" owned?;T@[I" parent;F@-[I" pipe?;T@[I" read;T@[I"readable?;T@[I"readable_real?;T@[I"readlines;T@[I" readlink;T@[I"realdirpath;T@[I" realpath;T@[I"relative?;F@-[I"relative_path_from;F@-[I" rename;T@[I" rmdir;T@[I" rmtree;F@-[I" root?;F@-[I" setgid?;T@[I" setuid?;T@[I" size;T@[I" size?;T@[I" socket?;T@[I" split;T@[I" stat;T@[I" sticky?;T@[I"sub;T@[I" sub_ext;T@[I" symlink?;T@[I" sysopen;T@[I" taint;T@[I" to_path;T@[I" to_s;T@[I" truncate;T@[I" unlink;T@[I" untaint;T@[I" utime;T@[I"world_readable?;T@[I"world_writable?;T@[I"writable?;T@[I"writable_real?;T@[I" write;T@[I" zero?;T@[;[[;[[[U:RDoc::Context::Section[i0o;;[; 0; 0[@ @@cRDoc::TopLeveldirname-i.ri000064400000000602152352604010006741 0ustar00U:RDoc::AnyMethod[iI" dirname:ETI"Pathname#dirname;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"4Returns all but the last component of the path.;To:RDoc::Markup::BlankLineo; ; [I"See File.dirname.;T: @fileI"ext/pathname/pathname.c;T:0@omit_headings_from_table_of_contents_below000[I"();T@FI" Pathname;TcRDoc::NormalClass00size%3f-i.ri000064400000000447152352604010006601 0ustar00U:RDoc::AnyMethod[iI" size?:ETI"Pathname#size?;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"See FileTest.size?.;T: @fileI"ext/pathname/pathname.c;T:0@omit_headings_from_table_of_contents_below000[I"();T@FI" Pathname;TcRDoc::NormalClass00descend-i.ri000064400000001663152352604010006737 0ustar00U:RDoc::AnyMethod[iI" descend:EFI"Pathname#descend;TF: publico:RDoc::Markup::Document: @parts[ o:RDoc::Markup::Paragraph; [I"4Iterates over and yields a new Pathname object ;TI" ;TI" # ;TI" # ;TI"" # ;TI"* # ;TI" ;TI" ;TI" # ;TI"! # ;TI") # ;T: @format0o; ; [I"&It doesn't access the filesystem.;T: @fileI"!ext/pathname/lib/pathname.rb;T:0@omit_headings_from_table_of_contents_below00I"v;T[I"();T@!FI" Pathname;TcRDoc::NormalClass00writable%3f-i.ri000064400000000463152352604010007436 0ustar00U:RDoc::AnyMethod[iI"writable?:ETI"Pathname#writable?;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"See FileTest.writable?.;T: @fileI"ext/pathname/pathname.c;T:0@omit_headings_from_table_of_contents_below000[I"();T@FI" Pathname;TcRDoc::NormalClass00read-i.ri000064400000001020152352604010006230 0ustar00U:RDoc::AnyMethod[iI" read:ETI"Pathname#read;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"IReturns all data from the file, or the first +N+ bytes if specified.;To:RDoc::Markup::BlankLineo; ; [I"See IO.read.;T: @fileI"ext/pathname/pathname.c;T:0@omit_headings_from_table_of_contents_below0I"jpathname.read([length [, offset]]) -> string pathname.read([length [, offset]], open_args) -> string ;T0[I" (p1 = v1, p2 = v2, p3 = v3);T@FI" Pathname;TcRDoc::NormalClass00each_filename-i.ri000064400000001372152352604010010067 0ustar00U:RDoc::AnyMethod[iI"each_filename:EFI"Pathname#each_filename;TF: publico:RDoc::Markup::Document: @parts[ o:RDoc::Markup::Paragraph; [I".Iterates over each component of the path.;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim; [I"CPathname.new("/usr/bin/ruby").each_filename {|filename| ... } ;TI"* # yields "usr", "bin", and "ruby". ;T: @format0o; ; [I"1Returns an Enumerator if no block was given.;T@o; ; [ I"8enum = Pathname.new("/usr/bin/ruby").each_filename ;TI" # ... do stuff ... ;TI"enum.each { |e| ... } ;TI") # yields "usr", "bin", and "ruby".;T; 0: @fileI"!ext/pathname/lib/pathname.rb;T:0@omit_headings_from_table_of_contents_below00I" filename;F[I"();T@FI" Pathname;TcRDoc::NormalClass00setuid%3f-i.ri000064400000000455152352604010007123 0ustar00U:RDoc::AnyMethod[iI" setuid?:ETI"Pathname#setuid?;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"See FileTest.setuid?.;T: @fileI"ext/pathname/pathname.c;T:0@omit_headings_from_table_of_contents_below000[I"();T@FI" Pathname;TcRDoc::NormalClass00make_symlink-i.ri000064400000000630152352604010010006 0ustar00U:RDoc::AnyMethod[iI"make_symlink:ETI"Pathname#make_symlink;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"Creates a symbolic link.;To:RDoc::Markup::BlankLineo; ; [I"See File.symlink.;T: @fileI"ext/pathname/pathname.c;T:0@omit_headings_from_table_of_contents_below0I" pathname.make_symlink(old) ;T0[I" (p1);T@FI" Pathname;TcRDoc::NormalClass00relative%3f-i.ri000064400000001157152352604010007441 0ustar00U:RDoc::AnyMethod[iI"relative?:EFI"Pathname#relative?;TF: publico:RDoc::Markup::Document: @parts[ o:RDoc::Markup::Paragraph; [I"'The opposite of Pathname#absolute?;To:RDoc::Markup::BlankLineo; ; [I" false ;TI" ;TI"%p = Pathname.new('not/so/sure') ;TI"p.relative? ;TI" #=> true;T: @format0: @fileI"!ext/pathname/lib/pathname.rb;T:0@omit_headings_from_table_of_contents_below000[I"();T@FI" Pathname;TcRDoc::NormalClass00owned%3f-i.ri000064400000000452152352604010006737 0ustar00U:RDoc::AnyMethod[iI" owned?:ETI"Pathname#owned?;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"See FileTest.owned?.;T: @fileI"ext/pathname/pathname.c;T:0@omit_headings_from_table_of_contents_below000[I"();T@FI" Pathname;TcRDoc::NormalClass00taint-i.ri000064400000000600152352604010006437 0ustar00U:RDoc::AnyMethod[iI" taint:ETI"Pathname#taint;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"Taints this Pathname.;To:RDoc::Markup::BlankLineo; ; [I"See Object.taint.;T: @fileI"ext/pathname/pathname.c;T:0@omit_headings_from_table_of_contents_below0I"pathname.taint -> obj ;T0[I"();T@FI" Pathname;TcRDoc::NormalClass00cleanpath-i.ri000064400000001403152352604010007261 0ustar00U:RDoc::AnyMethod[iI"cleanpath:EFI"Pathname#cleanpath;TF: publico:RDoc::Markup::Document: @parts[ o:RDoc::Markup::Paragraph; [I"PReturns clean pathname of +self+ with consecutive slashes and useless dots ;TI".removed. The filesystem is not accessed.;To:RDoc::Markup::BlankLineo; ; [ I"QIf +consider_symlink+ is +true+, then a more conservative algorithm is used ;TI"Eto avoid breaking symbolic linkages. This may retain more +..+ ;TI"Nentries than absolutely necessary, but without accessing the filesystem, ;TI"this can't be avoided.;T@o; ; [I"See Pathname#realpath.;T: @fileI"!ext/pathname/lib/pathname.rb;T:0@omit_headings_from_table_of_contents_below000[I"(consider_symlink=false);T@FI" Pathname;TcRDoc::NormalClass00getwd-c.ri000064400000000763152352604010006436 0ustar00U:RDoc::AnyMethod[iI" getwd:ETI"Pathname::getwd;TT: publico:RDoc::Markup::Document: @parts[ o:RDoc::Markup::Paragraph; [I"9Returns the current working directory as a Pathname.;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim; [I"Pathname.getwd ;TI"2 #=> # ;T: @format0o; ; [I"See Dir.getwd.;T: @fileI"ext/pathname/pathname.c;T:0@omit_headings_from_table_of_contents_below000[I"();T@FI" Pathname;TcRDoc::NormalClass00%3d%3d%3d-i.ri000064400000000714152352604010006471 0ustar00U:RDoc::AnyMethod[iI"===:ETI"Pathname#===;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"JCompare this pathname with +other+. The comparison is string-based. ;TI"QBe aware that two different paths (foo.txt and ./foo.txt) ;TI" can refer to the same file.;T: @fileI"ext/pathname/pathname.c;T:0@omit_headings_from_table_of_contents_below000[I" (p1);T@FI" Pathname;TcRDoc::NormalClass00readlines-i.ri000064400000001075152352604010007275 0ustar00U:RDoc::AnyMethod[iI"readlines:ETI"Pathname#readlines;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I")Returns all the lines from the file.;To:RDoc::Markup::BlankLineo; ; [I"See IO.readlines.;T: @fileI"ext/pathname/pathname.c;T:0@omit_headings_from_table_of_contents_below0I"¢pathname.readlines(sep=$/ [, open_args]) -> array pathname.readlines(limit [, open_args]) -> array pathname.readlines(sep, limit [, open_args]) -> array ;T0[I" (p1 = v1, p2 = v2, p3 = v3);T@FI" Pathname;TcRDoc::NormalClass00realpath-i.ri000064400000001060152352604010007121 0ustar00U:RDoc::AnyMethod[iI" realpath:ETI"Pathname#realpath;TF: publico:RDoc::Markup::Document: @parts[ o:RDoc::Markup::Paragraph; [I"CReturns the real (absolute) pathname for +self+ in the actual ;TI"filesystem.;To:RDoc::Markup::BlankLineo; ; [I"=Does not contain symlinks or useless dots, +..+ and +.+.;T@o; ; [I"CAll components of the pathname must exist when this method is ;TI" called.;T: @fileI"ext/pathname/pathname.c;T:0@omit_headings_from_table_of_contents_below000[I"(p1 = v1);T@FI" Pathname;TcRDoc::NormalClass00%2b-i.ri000064400000001254152352604010005676 0ustar00U:RDoc::AnyMethod[iI"+:ETI"Pathname#+;TF: publico:RDoc::Markup::Document: @parts[ o:RDoc::Markup::Paragraph; [I"LAppends a pathname fragment to +self+ to produce a new Pathname object.;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim; [I"4p1 = Pathname.new("/usr") # Pathname:/usr ;TI"=p2 = p1 + "bin/ruby" # Pathname:/usr/bin/ruby ;TI";p3 = p1 + "/etc/passwd" # Pathname:/etc/passwd ;T: @format0o; ; [I"PThis method doesn't access the file system; it is pure string manipulation.;T: @fileI"!ext/pathname/lib/pathname.rb;T:0@omit_headings_from_table_of_contents_below000[I" (other);T@FI" Pathname;TcRDoc::NormalClass00each_entry-i.ri000064400000000626152352604010007451 0ustar00U:RDoc::AnyMethod[iI"each_entry:ETI"Pathname#each_entry;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"LIterates over the entries (files and subdirectories) in the directory, ;TI"/yielding a Pathname object for each entry.;T: @fileI"ext/pathname/pathname.c;T:0@omit_headings_from_table_of_contents_below000[I"();T@FI" Pathname;TcRDoc::NormalClass00stat-i.ri000064400000000546152352604010006304 0ustar00U:RDoc::AnyMethod[iI" stat:ETI"Pathname#stat;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"!Returns a File::Stat object.;To:RDoc::Markup::BlankLineo; ; [I"See File.stat.;T: @fileI"ext/pathname/pathname.c;T:0@omit_headings_from_table_of_contents_below000[I"();T@FI" Pathname;TcRDoc::NormalClass00pwd-c.ri000064400000000757152352604010006121 0ustar00U:RDoc::AnyMethod[iI"pwd:ETI"Pathname::pwd;TT: publico:RDoc::Markup::Document: @parts[ o:RDoc::Markup::Paragraph; [I"9Returns the current working directory as a Pathname.;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim; [I"Pathname.getwd ;TI"2 #=> # ;T: @format0o; ; [I"See Dir.getwd.;T: @fileI"ext/pathname/pathname.c;T:0@omit_headings_from_table_of_contents_below000[I"();T@FI" Pathname;TcRDoc::NormalClass00sub-i.ri000064400000001003152352604010006107 0ustar00U:RDoc::AnyMethod[iI"sub:ETI"Pathname#sub;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I":Return a pathname which is substituted by String#sub.;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim; [I"+path1 = Pathname.new('/usr/bin/perl') ;TI"path1.sub('perl', 'ruby') ;TI"& #=> #;T: @format0: @fileI"ext/pathname/pathname.c;T:0@omit_headings_from_table_of_contents_below000[I" (*args);T@FI" Pathname;TcRDoc::NormalClass00opendir-i.ri000064400000000556152352604010006772 0ustar00U:RDoc::AnyMethod[iI" opendir:ETI"Pathname#opendir;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"$Opens the referenced directory.;To:RDoc::Markup::BlankLineo; ; [I"See Dir.open.;T: @fileI"ext/pathname/pathname.c;T:0@omit_headings_from_table_of_contents_below000[I"();T@FI" Pathname;TcRDoc::NormalClass00fnmatch-i.ri000064400000001003152352604010006736 0ustar00U:RDoc::AnyMethod[iI" fnmatch:ETI"Pathname#fnmatch;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"=Return +true+ if the receiver matches the given pattern.;To:RDoc::Markup::BlankLineo; ; [I"See File.fnmatch.;T: @fileI"ext/pathname/pathname.c;T:0@omit_headings_from_table_of_contents_below0I"lpathname.fnmatch(pattern, [flags]) -> string pathname.fnmatch?(pattern, [flags]) -> string;T0[I"(p1, p2 = v2);T@FI" Pathname;TcRDoc::NormalClass00readable%3f-i.ri000064400000000463152352604010007364 0ustar00U:RDoc::AnyMethod[iI"readable?:ETI"Pathname#readable?;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"See FileTest.readable?.;T: @fileI"ext/pathname/pathname.c;T:0@omit_headings_from_table_of_contents_below000[I"();T@FI" Pathname;TcRDoc::NormalClass00lchown-i.ri000064400000000665152352604010006625 0ustar00U:RDoc::AnyMethod[iI" lchown:ETI"Pathname#lchown;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"@Same as Pathname.chown, but does not follow symbolic links.;To:RDoc::Markup::BlankLineo; ; [I"See File.lchown.;T: @fileI"ext/pathname/pathname.c;T:0@omit_headings_from_table_of_contents_below0I"#pathname.lchown -> integer ;T0[I" (p1, p2);T@FI" Pathname;TcRDoc::NormalClass00sysopen-i.ri000064400000000551152352604010007025 0ustar00U:RDoc::AnyMethod[iI" sysopen:ETI"Pathname#sysopen;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"See IO.sysopen.;T: @fileI"ext/pathname/pathname.c;T:0@omit_headings_from_table_of_contents_below0I"1pathname.sysopen([mode, [perm]]) -> fixnum ;T0[I"(p1 = v1, p2 = v2);T@FI" Pathname;TcRDoc::NormalClass00mkpath-i.ri000064400000000707152352604010006614 0ustar00U:RDoc::AnyMethod[iI" mkpath:EFI"Pathname#mkpath;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"PCreates a full path, including any intermediate directories that don't yet ;TI" exist.;To:RDoc::Markup::BlankLineo; ; [I"/See FileUtils.mkpath and FileUtils.mkdir_p;T: @fileI"!ext/pathname/lib/pathname.rb;T:0@omit_headings_from_table_of_contents_below000[I"();T@FI" Pathname;TcRDoc::NormalClass00pipe%3f-i.ri000064400000000447152352604010006564 0ustar00U:RDoc::AnyMethod[iI" pipe?:ETI"Pathname#pipe?;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"See FileTest.pipe?.;T: @fileI"ext/pathname/pathname.c;T:0@omit_headings_from_table_of_contents_below000[I"();T@FI" Pathname;TcRDoc::NormalClass00rmtree-i.ri000064400000000635152352604010006626 0ustar00U:RDoc::AnyMethod[iI" rmtree:EFI"Pathname#rmtree;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"KRecursively deletes a directory, including all directories beneath it.;To:RDoc::Markup::BlankLineo; ; [I"See FileUtils.rm_r;T: @fileI"!ext/pathname/lib/pathname.rb;T:0@omit_headings_from_table_of_contents_below000[I"();T@FI" Pathname;TcRDoc::NormalClass00find-i.ri000064400000001414152352604010006244 0ustar00U:RDoc::AnyMethod[iI" find:EFI"Pathname#find;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"JIterates over the directory tree in a depth first manner, yielding a ;TI"3Pathname for each file under "this" directory.;To:RDoc::Markup::BlankLineo; ; [I"0Returns an Enumerator if no block is given.;T@o; ; [I"QSince it is implemented by the standard library module Find, Find.prune can ;TI"&be used to control the traversal.;T@o; ; [I"FIf +self+ is +.+, yielded pathnames begin with a filename in the ;TI"!current directory, not +./+.;T@o; ; [I"See Find.find;T: @fileI"!ext/pathname/lib/pathname.rb;T:0@omit_headings_from_table_of_contents_below00I" pathname;F[I"();T@FI" Pathname;TcRDoc::NormalClass00ctime-i.ri000064400000000675152352604010006435 0ustar00U:RDoc::AnyMethod[iI" ctime:ETI"Pathname#ctime;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"TReturns the last change time, using directory information, not the file itself.;To:RDoc::Markup::BlankLineo; ; [I"See File.ctime.;T: @fileI"ext/pathname/pathname.c;T:0@omit_headings_from_table_of_contents_below0I" pathname.ctime -> time ;T0[I"();T@FI" Pathname;TcRDoc::NormalClass00entries-i.ri000064400000002251152352604010006775 0ustar00U:RDoc::AnyMethod[iI" entries:ETI"Pathname#entries;TF: publico:RDoc::Markup::Document: @parts[ o:RDoc::Markup::Paragraph; [I"OReturn the entries (files and subdirectories) in the directory, each as a ;TI"Pathname object.;To:RDoc::Markup::BlankLineo; ; [I"PThe results contains just the names in the directory, without any trailing ;TI""slashes or recursive look-up.;T@o:RDoc::Markup::Verbatim; [I"+pp Pathname.new('/usr/local').entries ;TI"#=> [#, ;TI"# #, ;TI"# #, ;TI"# #, ;TI"# #, ;TI"# #, ;TI"# #, ;TI"# #, ;TI"# #, ;TI"# #, ;TI"# #] ;T: @format0o; ; [I"QThe result may contain the current directory # and ;TI"6the parent directory #.;T@o; ; [I"(If you don't want +.+ and +..+ and ;TI"2want directories, consider Pathname#children.;T: @fileI"ext/pathname/pathname.c;T:0@omit_headings_from_table_of_contents_below000[I"();T@*FI" Pathname;TcRDoc::NormalClass00%3d%3d-i.ri000064400000000712152352604010006173 0ustar00U:RDoc::AnyMethod[iI"==:ETI"Pathname#==;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"JCompare this pathname with +other+. The comparison is string-based. ;TI"QBe aware that two different paths (foo.txt and ./foo.txt) ;TI" can refer to the same file.;T: @fileI"ext/pathname/pathname.c;T:0@omit_headings_from_table_of_contents_below000[I" (p1);T@FI" Pathname;TcRDoc::NormalClass00atime-i.ri000064400000000630152352604010006422 0ustar00U:RDoc::AnyMethod[iI" atime:ETI"Pathname#atime;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"/Returns the last access time for the file.;To:RDoc::Markup::BlankLineo; ; [I"See File.atime.;T: @fileI"ext/pathname/pathname.c;T:0@omit_headings_from_table_of_contents_below0I" pathname.atime -> time ;T0[I"();T@FI" Pathname;TcRDoc::NormalClass00setgid%3f-i.ri000064400000000455152352604010007105 0ustar00U:RDoc::AnyMethod[iI" setgid?:ETI"Pathname#setgid?;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"See FileTest.setgid?.;T: @fileI"ext/pathname/pathname.c;T:0@omit_headings_from_table_of_contents_below000[I"();T@FI" Pathname;TcRDoc::NormalClass00lstat-i.ri000064400000000443152352604010006454 0ustar00U:RDoc::AnyMethod[iI" lstat:ETI"Pathname#lstat;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"See File.lstat.;T: @fileI"ext/pathname/pathname.c;T:0@omit_headings_from_table_of_contents_below000[I"();T@FI" Pathname;TcRDoc::NormalClass00zero%3f-i.ri000064400000000447152352604010006606 0ustar00U:RDoc::AnyMethod[iI" zero?:ETI"Pathname#zero?;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"See FileTest.zero?.;T: @fileI"ext/pathname/pathname.c;T:0@omit_headings_from_table_of_contents_below000[I"();T@FI" Pathname;TcRDoc::NormalClass00%3c%3d%3e-i.ri000064400000001475152352604010006476 0ustar00U:RDoc::AnyMethod[iI"<=>:ETI"Pathname#<=>;TF: publico:RDoc::Markup::Document: @parts[ o:RDoc::Markup::Paragraph; [I"AProvides a case-sensitive comparison operator for pathnames.;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim; [ I"7Pathname.new('/usr') <=> Pathname.new('/usr/bin') ;TI" #=> -1 ;TI";Pathname.new('/usr/bin') <=> Pathname.new('/usr/bin') ;TI" #=> 0 ;TI";Pathname.new('/usr/bin') <=> Pathname.new('/USR/BIN') ;TI" #=> 1 ;T: @format0o; ; [I"QIt will return +-1+, +0+ or +1+ depending on the value of the left argument ;TI"Nrelative to the right argument. Or it will return +nil+ if the arguments ;TI"are not comparable.;T: @fileI"ext/pathname/pathname.c;T:0@omit_headings_from_table_of_contents_below000[I" (p1);T@FI" Pathname;TcRDoc::NormalClass00fnmatch%3f-i.ri000064400000000721152352604010007242 0ustar00U:RDoc::AnyMethod[iI" fnmatch?:ETI"Pathname#fnmatch?;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"=Return +true+ if the receiver matches the given pattern.;To:RDoc::Markup::BlankLineo; ; [I"See File.fnmatch.;T: @fileI"ext/pathname/pathname.c;T:0@omit_headings_from_table_of_contents_below0I"8pathname.fnmatch?(pattern, [flags]) -> string;T0[I"(p1, p2 = v2);T@FI" Pathname;TcRDoc::NormalClass00each_line-i.ri000064400000001300152352604010007225 0ustar00U:RDoc::AnyMethod[iI"each_line:ETI"Pathname#each_line;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"MIterates over each line in the file and yields a String object for each.;T: @fileI"ext/pathname/pathname.c;T:0@omit_headings_from_table_of_contents_below0I";pathname.each_line {|line| ... } pathname.each_line(sep=$/ [, open_args]) {|line| block } -> nil pathname.each_line(limit [, open_args]) {|line| block } -> nil pathname.each_line(sep, limit [, open_args]) {|line| block } -> nil pathname.each_line(...) -> an_enumerator ;T0[I" (p1 = v1, p2 = v2, p3 = v3);T@FI" Pathname;TcRDoc::NormalClass00open-i.ri000064400000000611152352604010006263 0ustar00U:RDoc::AnyMethod[iI" open:ETI"Pathname#open;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"+Opens the file for reading or writing.;To:RDoc::Markup::BlankLineo; ; [I"See File.open.;T: @fileI"ext/pathname/pathname.c;T:0@omit_headings_from_table_of_contents_below000[I" (p1 = v1, p2 = v2, p3 = v3);T@FI" Pathname;TcRDoc::NormalClass00utime-i.ri000064400000000610152352604010006444 0ustar00U:RDoc::AnyMethod[iI" utime:ETI"Pathname#utime;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I":Update the access and modification times of the file.;To:RDoc::Markup::BlankLineo; ; [I"See File.utime.;T: @fileI"ext/pathname/pathname.c;T:0@omit_headings_from_table_of_contents_below000[I" (p1, p2);T@FI" Pathname;TcRDoc::NormalClass00absolute%3f-i.ri000064400000001204152352604010007435 0ustar00U:RDoc::AnyMethod[iI"absolute?:EFI"Pathname#absolute?;TF: publico:RDoc::Markup::Document: @parts[ o:RDoc::Markup::Paragraph; [I"=Predicate method for testing whether a path is absolute.;To:RDoc::Markup::BlankLineo; ; [I";It returns +true+ if the pathname begins with a slash.;T@o:RDoc::Markup::Verbatim; [ I""p = Pathname.new('/im/sure') ;TI"p.absolute? ;TI" #=> true ;TI" ;TI"%p = Pathname.new('not/so/sure') ;TI"p.absolute? ;TI" #=> false;T: @format0: @fileI"!ext/pathname/lib/pathname.rb;T:0@omit_headings_from_table_of_contents_below000[I"();T@FI" Pathname;TcRDoc::NormalClass00lchmod-i.ri000064400000000661152352604010006575 0ustar00U:RDoc::AnyMethod[iI" lchmod:ETI"Pathname#lchmod;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"@Same as Pathname.chmod, but does not follow symbolic links.;To:RDoc::Markup::BlankLineo; ; [I"See File.lchmod.;T: @fileI"ext/pathname/pathname.c;T:0@omit_headings_from_table_of_contents_below0I"#pathname.lchmod -> integer ;T0[I" (p1);T@FI" Pathname;TcRDoc::NormalClass00mountpoint%3f-i.ri000064400000000525152352604010010040 0ustar00U:RDoc::AnyMethod[iI"mountpoint?:EFI"Pathname#mountpoint?;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"5Returns +true+ if +self+ points to a mountpoint.;T: @fileI"!ext/pathname/lib/pathname.rb;T:0@omit_headings_from_table_of_contents_below000[I"();T@FI" Pathname;TcRDoc::NormalClass00