ÿØÿà JFIF ÿÛ „ ( %!1!%*+...983,7(-.-
executable_real%3f-i.ri 0000644 00000000673 15241121247 0010755 0 ustar 00 U: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::NormalModule00 symlink%3f-i.ri 0000644 00000000576 15241121247 0007321 0 ustar 00 U: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::NormalModule00 world_readable%3f-i.ri 0000644 00000001574 15241121247 0010600 0 ustar 00 U: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::BlankLine o;
; [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::NormalModule00 readable_real%3f-i.ri 0000644 00000000663 15241121247 0010372 0 ustar 00 U: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::NormalModule00 executable%3f-i.ri 0000644 00000000661 15241121247 0007747 0 ustar 00 U: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::NormalModule00 sticky%3f-i.ri 0000644 00000000577 15241121247 0007142 0 ustar 00 U: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::NormalModule00 identical%3f-i.ri 0000644 00000001547 15241121247 0007566 0 ustar 00 U: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::BlankLine o;
; [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::NormalModule00 exist%3f-i.ri 0000644 00000001070 15241121247 0006755 0 ustar 00 U: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::BlankLine o;
; [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::NormalModule00 file%3f-i.ri 0000644 00000000717 15241121247 0006547 0 ustar 00 U: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::BlankLine o;
; [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::NormalModule00 empty%3f-i.ri 0000644 00000000661 15241121247 0006764 0 ustar 00 U: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::BlankLine o;
; [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?;T writable_real%3f-i.ri 0000644 00000000663 15241121247 0010444 0 ustar 00 U: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::NormalModule00 blockdev%3f-i.ri 0000644 00000000712 15241121247 0007414 0 ustar 00 U: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::BlankLine o;
; [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::NormalModule00 directory%3f-i.ri 0000644 00000001150 15241121247 0007624 0 ustar 00 U: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::BlankLine o;
; [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::NormalModule00 cdesc-FileTest.ri 0000644 00000002247 15241121247 0007702 0 ustar 00 U: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[i 0o;;[ ;
0;0[@@cRDoc::TopLevel grpowned%3f-i.ri 0000644 00000001076 15241121247 0007454 0 ustar 00 U: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::BlankLine o;
; [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::NormalModule00 size-i.ri 0000644 00000000641 15241121247 0006300 0 ustar 00 U: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::BlankLine o;
; [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::NormalModule00 world_writable%3f-i.ri 0000644 00000001565 15241121247 0010652 0 ustar 00 U: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::BlankLine o;
; [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::NormalModule00 chardev%3f-i.ri 0000644 00000000713 15241121247 0007240 0 ustar 00 U: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::BlankLine o;
; [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::NormalModule00 socket%3f-i.ri 0000644 00000000676 15241121247 0007124 0 ustar 00 U: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::BlankLine o;
; [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::NormalModule00 size%3f-i.ri 0000644 00000000743 15241121247 0006601 0 ustar 00 U: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::BlankLine o;
; [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::NormalModule00 writable%3f-i.ri 0000644 00000000651 15241121247 0007436 0 ustar 00 U: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::NormalModule00 setuid%3f-i.ri 0000644 00000000577 15241121247 0007131 0 ustar 00 U: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::NormalModule00 owned%3f-i.ri 0000644 00000001015 15241121247 0006734 0 ustar 00 U: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::BlankLine o;
; [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::NormalModule00 readable%3f-i.ri 0000644 00000000651 15241121247 0007364 0 ustar 00 U: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::NormalModule00 pipe%3f-i.ri 0000644 00000000666 15241121247 0006570 0 ustar 00 U: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::BlankLine o;
; [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::NormalModule00 setgid%3f-i.ri 0000644 00000000577 15241121247 0007113 0 ustar 00 U: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::NormalModule00 zero%3f-i.ri 0000644 00000000715 15241121247 0006605 0 ustar 00 U: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::BlankLine o;
; [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::NormalModule00 exists%3f-i.ri 0000644 00000000344 15241444045 0007147 0 ustar 00 U: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