ÿØÿà JFIF    ÿÛ „ ( %!1!%*+...983,7(-.- PKS,]6(Ļexecutable_real%3f-i.rinu[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::NormalModule00PKS,]X~~symlink%3f-i.rinu[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::NormalModule00PKS,]c_||world_readable%3f-i.rinu[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::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::NormalModule00PKS,]Wreadable_real%3f-i.rinu[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::NormalModule00PKS,]mʱexecutable%3f-i.rinu[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::NormalModule00PKS,]Isticky%3f-i.rinu[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::NormalModule00PKS,]+rggidentical%3f-i.rinu[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::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::NormalModule00PKS,]W88 exist%3f-i.rinu[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::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::NormalModule00PKS,] file%3f-i.rinu[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::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::NormalModule00PKS,]o5 Jwritable_real%3f-i.rinu[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::NormalModule00PKS,]V0blockdev%3f-i.rinu[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::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::NormalModule00PKS,]P"zhhdirectory%3f-i.rinu[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::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::NormalModule00PKS,]#Tcdesc-FileTest.rinu[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[i0o;;[; 0; 0[@@cRDoc::TopLevelPKS,]+>>grpowned%3f-i.rinu[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::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::NormalModule00PKS,]9 size-i.rinu[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::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::NormalModule00PKS,]uuworld_writable%3f-i.rinu[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::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::NormalModule00PKS,]ochardev%3f-i.rinu[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::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::NormalModule00PKS,]F_;socket%3f-i.rinu[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::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::NormalModule00PKS,]|exists%3f-i.rinu[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::NormalModule00PKS,]d- size%3f-i.rinu[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::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::NormalModule00PKS,]@writable%3f-i.rinu[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::NormalModule00PKS,]LQsetuid%3f-i.rinu[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::NormalModule00PKS,]   owned%3f-i.rinu[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::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::NormalModule00PKS,]1nreadable%3f-i.rinu[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::NormalModule00PKS,] pipe%3f-i.rinu[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::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::NormalModule00PKS,]Susetgid%3f-i.rinu[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::NormalModule00PKS,]㋍< zero%3f-i.rinu[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::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::NormalModule00PKS,]6(Ļexecutable_real%3f-i.rinu[PKS,]X~~symlink%3f-i.rinu[PKS,]c_||world_readable%3f-i.rinu[PKS,]Wreadable_real%3f-i.rinu[PKS,]mʱy executable%3f-i.rinu[PKS,]Il sticky%3f-i.rinu[PKS,]+rgg) identical%3f-i.rinu[PKS,]W88 exist%3f-i.rinu[PKS,] Ffile%3f-i.rinu[PKS,]o5 JQwritable_real%3f-i.rinu[PKS,]V0Iblockdev%3f-i.rinu[PKS,]P"zhhSdirectory%3f-i.rinu[PKS,]#Tcdesc-FileTest.rinu[PKS,]+>> grpowned%3f-i.rinu[PKS,]9 b#size-i.rinu[PKS,]uu<%world_writable%3f-i.rinu[PKS,]o(chardev%3f-i.rinu[PKS,]F_;+socket%3f-i.rinu[PKS,]|,exists%3f-i.rinu[PKS,]d- .size%3f-i.rinu[PKS,]@>0writable%3f-i.rinu[PKS,]LQ'2setuid%3f-i.rinu[PKS,]   3owned%3f-i.rinu[PKS,]1n.6readable%3f-i.rinu[PKS,] 8pipe%3f-i.rinu[PKS,]Su :setgid%3f-i.rinu[PKS,]㋍< ;zero%3f-i.rinu[PKi=