📁 File Manager Pro
v10.0.3 | PHP: 8.1.34
Server: Apache
2026-06-22 09:04:46
📂
/ (Root)
/
opt
/
alt
/
ruby27
/
share
/
ri
/
system
/
File
📍 /opt/alt/ruby27/share/ri/system/File
🔄 Refresh
✏️
Editing: path-i.ri
Read Only
U:RDoc::AnyMethod[iI" path:ETI"File#path;TF:privateo:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"GReturns the pathname used to create <i>file</i> as a string. Does ;TI"not normalize the name.;To:RDoc::Markup::BlankLine o; ; [I"JThe pathname may not point to the file corresponding to <i>file</i>. ;TI"DFor instance, the pathname becomes void when the file has been ;TI"moved or deleted.;T@o; ; [I"@This method raises IOError for a <i>file</i> created using ;TI"AFile::Constants::TMPFILE because they don't have a pathname.;T@o:RDoc::Markup::Verbatim; [I"<File.new("testfile").path #=> "testfile" ;TI"BFile.new("/tmp/../tmp/xxx", "w").path #=> "/tmp/../tmp/xxx";T:@format0: @fileI"file.c;T:0@omit_headings_from_table_of_contents_below0I"8file.path -> filename file.to_path -> filename ;T0[ I"();T@FI" File;TcRDoc::NormalClass00
💾 Save Changes
❌ Cancel