ÿØÿà JFIF    ÿÛ „ ( %!1!%*+...983,7(-.- executable_real%3f-i.ri000064400000000673152411212470010755 0ustar00U:RDoc::AnyMethod[iI"executable_real?:ETI"FileTest#executable_real?;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"KReturns true if the named file is executable by the real ;TI"user id of this process.;T: @fileI" file.c;T:0@omit_headings_from_table_of_contents_below0I"9File.executable_real?(file_name) -> true or false ;T0[I" (p1);T@FI" FileTest;TcRDoc::NormalModule00symlink%3f-i.ri000064400000000576152411212470007321 0ustar00U:RDoc::AnyMethod[iI" symlink?:ETI"FileTest#symlink?;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"DReturns true if the named file is a symbolic link.;T: @fileI" file.c;T:0@omit_headings_from_table_of_contents_below0I"2File.symlink?(file_name) -> true or false ;T0[I" (p1);T@FI" FileTest;TcRDoc::NormalModule00world_readable%3f-i.ri000064400000001574152411212470010600 0ustar00U:RDoc::AnyMethod[iI"world_readable?:ETI"FileTest#world_readable?;TF: publico:RDoc::Markup::Document: @parts[ o:RDoc::Markup::Paragraph; [ I"CIf file_name is readable by others, returns an integer ;TI"Hrepresenting the file permission bits of file_name. Returns ;TI"Enil otherwise. The meaning of the bits is platform ;TI":dependent; on Unix systems, see stat(2).;To:RDoc::Markup::BlankLineo; ; [I"%_file_name_ can be an IO object.;T@o:RDoc::Markup::Verbatim; [I";File.world_readable?("/etc/passwd") #=> 420 ;TI"-m = File.world_readable?("/etc/passwd") ;TI" "644";T: @format0: @fileI" file.c;T:0@omit_headings_from_table_of_contents_below0I"8File.world_readable?(file_name) -> fixnum or nil ;T0[I" (p1);T@FI" FileTest;TcRDoc::NormalModule00readable_real%3f-i.ri000064400000000663152411212470010372 0ustar00U:RDoc::AnyMethod[iI"readable_real?:ETI"FileTest#readable_real?;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"IReturns true if the named file is readable by the real ;TI"user id of this process.;T: @fileI" file.c;T:0@omit_headings_from_table_of_contents_below0I"7File.readable_real?(file_name) -> true or false ;T0[I" (p1);T@FI" FileTest;TcRDoc::NormalModule00executable%3f-i.ri000064400000000661152411212470007747 0ustar00U:RDoc::AnyMethod[iI"executable?:ETI"FileTest#executable?;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"PReturns true if the named file is executable by the effective ;TI"user id of this process.;T: @fileI" file.c;T:0@omit_headings_from_table_of_contents_below0I"4File.executable?(file_name) -> true or false ;T0[I" (p1);T@FI" FileTest;TcRDoc::NormalModule00sticky%3f-i.ri000064400000000577152411212470007142 0ustar00U:RDoc::AnyMethod[iI" sticky?:ETI"FileTest#sticky?;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"HReturns true if the named file has the sticky bit set.;T: @fileI" file.c;T:0@omit_headings_from_table_of_contents_below0I"1File.sticky?(file_name) -> true or false ;T0[I" (p1);T@FI" FileTest;TcRDoc::NormalModule00identical%3f-i.ri000064400000001547152411212470007566 0ustar00U:RDoc::AnyMethod[iI"identical?:ETI"FileTest#identical?;TF: publico:RDoc::Markup::Document: @parts[ o:RDoc::Markup::Paragraph; [I"@Returns true if the named files are identical.;To:RDoc::Markup::BlankLineo; ; [I"/_file_1_ and _file_2_ can be an IO object.;T@o:RDoc::Markup::Verbatim; [I"open("a", "w") {} ;TI"/p File.identical?("a", "a") #=> true ;TI"/p File.identical?("a", "./a") #=> true ;TI"File.link("a", "b") ;TI"/p File.identical?("a", "b") #=> true ;TI"File.symlink("a", "c") ;TI"/p File.identical?("a", "c") #=> true ;TI"open("d", "w") {} ;TI"/p File.identical?("a", "d") #=> false;T: @format0: @fileI" file.c;T:0@omit_headings_from_table_of_contents_below0I"9File.identical?(file_1, file_2) -> true or false ;T0[I" (p1, p2);T@FI" FileTest;TcRDoc::NormalModule00exist%3f-i.ri000064400000001070152411212470006755 0ustar00U:RDoc::AnyMethod[iI" exist?:ETI"FileTest#exist?;TF: publico:RDoc::Markup::Document: @parts[ o:RDoc::Markup::Paragraph; [I"7Return true if the named file exists.;To:RDoc::Markup::BlankLineo; ; [I"%_file_name_ can be an IO object.;T@o; ; [I"J"file exists" means that stat() or fstat() system call is successful.;T: @fileI" file.c;T:0@omit_headings_from_table_of_contents_below0I"]File.exist?(file_name) -> true or false File.exists?(file_name) -> true or false ;T0[I" (p1);T@FI" FileTest;TcRDoc::NormalModule00file%3f-i.ri000064400000000717152411212470006547 0ustar00U:RDoc::AnyMethod[iI" file?:ETI"FileTest#file?;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"AReturns true if the named file exists and is a ;TI"regular file.;To:RDoc::Markup::BlankLineo; ; [I"%_file_name_ can be an IO object.;T: @fileI" file.c;T:0@omit_headings_from_table_of_contents_below0I".File.file?(file_name) -> true or false ;T0[I" (p1);T@FI" FileTest;TcRDoc::NormalModule00empty%3f-i.ri000064400000000661152411212470006764 0ustar00U:RDoc::AnyMethod[iI" empty?:ETI"FileTest#empty?;TF: privateo:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"@Returns true if the named file exists and has ;TI"a zero size.;To:RDoc::Markup::BlankLineo; ; [I"%_file_name_ can be an IO object.;T: @fileI" file.c;T:0@omit_headings_from_table_of_contents_below000[I" (p1);T@FI" FileTest;TcRDoc::NormalModule0[@FI" zero?;Twritable_real%3f-i.ri000064400000000663152411212470010444 0ustar00U:RDoc::AnyMethod[iI"writable_real?:ETI"FileTest#writable_real?;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"IReturns true if the named file is writable by the real ;TI"user id of this process.;T: @fileI" file.c;T:0@omit_headings_from_table_of_contents_below0I"7File.writable_real?(file_name) -> true or false ;T0[I" (p1);T@FI" FileTest;TcRDoc::NormalModule00blockdev%3f-i.ri000064400000000712152411212470007414 0ustar00U:RDoc::AnyMethod[iI"blockdev?:ETI"FileTest#blockdev?;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"CReturns true if the named file is a block device.;To:RDoc::Markup::BlankLineo; ; [I"%_file_name_ can be an IO object.;T: @fileI" file.c;T:0@omit_headings_from_table_of_contents_below0I"3File.blockdev?(file_name) -> true or false ;T0[I" (p1);T@FI" FileTest;TcRDoc::NormalModule00directory%3f-i.ri000064400000001150152411212470007624 0ustar00U:RDoc::AnyMethod[iI"directory?:ETI"FileTest#directory?;TF: publico:RDoc::Markup::Document: @parts[ o:RDoc::Markup::Paragraph; [I"AReturns true if the named file is a directory, ;TI"Eor a symlink that points at a directory, and false ;TI"otherwise.;To:RDoc::Markup::BlankLineo; ; [I"%_file_name_ can be an IO object.;T@o:RDoc::Markup::Verbatim; [I"File.directory?(".");T: @format0: @fileI" file.c;T:0@omit_headings_from_table_of_contents_below0I"4File.directory?(file_name) -> true or false ;T0[I" (p1);T@FI" FileTest;TcRDoc::NormalModule00cdesc-FileTest.ri000064400000002247152411212470007702 0ustar00U:RDoc::NormalModule[iI" FileTest:ET@0o:RDoc::Markup::Document: @parts[o;;[o:RDoc::Markup::Paragraph;[ I"FFileTest implements file test operations similar to ;TI"Fthose used in File::Stat. It exists as a standalone ;TI"Lmodule, and its methods are also insinuated into the File ;TI"Nclass. (Note that this is not done by inclusion: the interpreter cheats).;T: @fileI" file.c;T:0@omit_headings_from_table_of_contents_below0; 0; 0[[[[[I" class;T[[: public[[:protected[[: private[[I" instance;T[[; [[I"blockdev?;TI" file.c;T[I" chardev?;T@'[I"directory?;T@'[I"executable?;T@'[I"executable_real?;T@'[I" exist?;T@'[I" exists?;T@'[I" file?;T@'[I"grpowned?;T@'[I"identical?;T@'[I" owned?;T@'[I" pipe?;T@'[I"readable?;T@'[I"readable_real?;T@'[I" setgid?;T@'[I" setuid?;T@'[I" size;T@'[I" size?;T@'[I" socket?;T@'[I" sticky?;T@'[I" symlink?;T@'[I"world_readable?;T@'[I"world_writable?;T@'[I"writable?;T@'[I"writable_real?;T@'[I" zero?;T@'[; [[;[[[U:RDoc::Context::Section[i0o;;[; 0; 0[@@cRDoc::TopLevelgrpowned%3f-i.ri000064400000001076152411212470007454 0ustar00U:RDoc::AnyMethod[iI"grpowned?:ETI"FileTest#grpowned?;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"@Returns true if the named file exists and the ;TI"?effective group id of the calling process is the owner of ;TI"5the file. Returns false on Windows.;To:RDoc::Markup::BlankLineo; ; [I"%_file_name_ can be an IO object.;T: @fileI" file.c;T:0@omit_headings_from_table_of_contents_below0I"2File.grpowned?(file_name) -> true or false ;T0[I" (p1);T@FI" FileTest;TcRDoc::NormalModule00size-i.ri000064400000000641152411212470006300 0ustar00U:RDoc::AnyMethod[iI" size:ETI"FileTest#size;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"0Returns the size of file_name.;To:RDoc::Markup::BlankLineo; ; [I"%_file_name_ can be an IO object.;T: @fileI" file.c;T:0@omit_headings_from_table_of_contents_below0I"'File.size(file_name) -> integer ;T0[I" (p1);T@FI" FileTest;TcRDoc::NormalModule00world_writable%3f-i.ri000064400000001565152411212470010652 0ustar00U:RDoc::AnyMethod[iI"world_writable?:ETI"FileTest#world_writable?;TF: publico:RDoc::Markup::Document: @parts[ o:RDoc::Markup::Paragraph; [ I"CIf file_name is writable by others, returns an integer ;TI"Hrepresenting the file permission bits of file_name. Returns ;TI"Enil otherwise. The meaning of the bits is platform ;TI":dependent; on Unix systems, see stat(2).;To:RDoc::Markup::BlankLineo; ; [I"%_file_name_ can be an IO object.;T@o:RDoc::Markup::Verbatim; [I";File.world_writable?("/tmp") #=> 511 ;TI"&m = File.world_writable?("/tmp") ;TI" "777";T: @format0: @fileI" file.c;T:0@omit_headings_from_table_of_contents_below0I"8File.world_writable?(file_name) -> fixnum or nil ;T0[I" (p1);T@FI" FileTest;TcRDoc::NormalModule00chardev%3f-i.ri000064400000000713152411212470007240 0ustar00U:RDoc::AnyMethod[iI" chardev?:ETI"FileTest#chardev?;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"GReturns true if the named file is a character device.;To:RDoc::Markup::BlankLineo; ; [I"%_file_name_ can be an IO object.;T: @fileI" file.c;T:0@omit_headings_from_table_of_contents_below0I"2File.chardev?(file_name) -> true or false ;T0[I" (p1);T@FI" FileTest;TcRDoc::NormalModule00socket%3f-i.ri000064400000000676152411212470007124 0ustar00U:RDoc::AnyMethod[iI" socket?:ETI"FileTest#socket?;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"=Returns true if the named file is a socket.;To:RDoc::Markup::BlankLineo; ; [I"%_file_name_ can be an IO object.;T: @fileI" file.c;T:0@omit_headings_from_table_of_contents_below0I"1File.socket?(file_name) -> true or false ;T0[I" (p1);T@FI" FileTest;TcRDoc::NormalModule00size%3f-i.ri000064400000000743152411212470006601 0ustar00U:RDoc::AnyMethod[iI" size?:ETI"FileTest#size?;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"RReturns +nil+ if +file_name+ doesn't exist or has zero size, the size of the ;TI"file otherwise.;To:RDoc::Markup::BlankLineo; ; [I"%_file_name_ can be an IO object.;T: @fileI" file.c;T:0@omit_headings_from_table_of_contents_below0I"/File.size?(file_name) -> Integer or nil ;T0[I" (p1);T@FI" FileTest;TcRDoc::NormalModule00writable%3f-i.ri000064400000000651152411212470007436 0ustar00U:RDoc::AnyMethod[iI"writable?:ETI"FileTest#writable?;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"NReturns true if the named file is writable by the effective ;TI"user id of this process.;T: @fileI" file.c;T:0@omit_headings_from_table_of_contents_below0I"2File.writable?(file_name) -> true or false ;T0[I" (p1);T@FI" FileTest;TcRDoc::NormalModule00setuid%3f-i.ri000064400000000577152411212470007131 0ustar00U:RDoc::AnyMethod[iI" setuid?:ETI"FileTest#setuid?;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"HReturns true if the named file has the setuid bit set.;T: @fileI" file.c;T:0@omit_headings_from_table_of_contents_below0I"1File.setuid?(file_name) -> true or false ;T0[I" (p1);T@FI" FileTest;TcRDoc::NormalModule00owned%3f-i.ri000064400000001015152411212470006734 0ustar00U:RDoc::AnyMethod[iI" owned?:ETI"FileTest#owned?;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"@Returns true if the named file exists and the ;TI">effective used id of the calling process is the owner of ;TI"the file.;To:RDoc::Markup::BlankLineo; ; [I"%_file_name_ can be an IO object.;T: @fileI" file.c;T:0@omit_headings_from_table_of_contents_below0I"/File.owned?(file_name) -> true or false ;T0[I" (p1);T@FI" FileTest;TcRDoc::NormalModule00readable%3f-i.ri000064400000000651152411212470007364 0ustar00U:RDoc::AnyMethod[iI"readable?:ETI"FileTest#readable?;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"NReturns true if the named file is readable by the effective ;TI"user id of this process.;T: @fileI" file.c;T:0@omit_headings_from_table_of_contents_below0I"2File.readable?(file_name) -> true or false ;T0[I" (p1);T@FI" FileTest;TcRDoc::NormalModule00pipe%3f-i.ri000064400000000666152411212470006570 0ustar00U:RDoc::AnyMethod[iI" pipe?:ETI"FileTest#pipe?;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I";Returns true if the named file is a pipe.;To:RDoc::Markup::BlankLineo; ; [I"%_file_name_ can be an IO object.;T: @fileI" file.c;T:0@omit_headings_from_table_of_contents_below0I"/File.pipe?(file_name) -> true or false ;T0[I" (p1);T@FI" FileTest;TcRDoc::NormalModule00setgid%3f-i.ri000064400000000577152411212470007113 0ustar00U:RDoc::AnyMethod[iI" setgid?:ETI"FileTest#setgid?;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"HReturns true if the named file has the setgid bit set.;T: @fileI" file.c;T:0@omit_headings_from_table_of_contents_below0I"1File.setgid?(file_name) -> true or false ;T0[I" (p1);T@FI" FileTest;TcRDoc::NormalModule00zero%3f-i.ri000064400000000715152411212470006605 0ustar00U:RDoc::AnyMethod[iI" zero?:ETI"FileTest#zero?;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"@Returns true if the named file exists and has ;TI"a zero size.;To:RDoc::Markup::BlankLineo; ; [I"%_file_name_ can be an IO object.;T: @fileI" file.c;T:0@omit_headings_from_table_of_contents_below0I".File.zero?(file_name) -> true or false ;T0[I" (p1);T@FI" FileTest;TcRDoc::NormalModule00exists%3f-i.ri000064400000000344152414440450007147 0ustar00U:RDoc::AnyMethod[iI" exists?:ETI"FileTest#exists?;TF: publico:RDoc::Markup::Document: @parts[: @fileI" file.c;T:0@omit_headings_from_table_of_contents_below000[I" (p1);T@ FI" FileTest;TcRDoc::NormalModule00