D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
IO
/
Filename :
path-i.ri
back
Copy
U:RDoc::AnyMethod[iI" path:ETI"IO#path;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"KReturns the path associated with the IO, or +nil+ if there is no path ;TI"Jassociated with the IO. It is not guaranteed that the path exists on ;TI"the filesystem.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I" $stdin.path # => "<STDIN>" ;TI" ;TI"7File.open("testfile") {|f| f.path} # => "testfile";T:@format0: @fileI" io.c;T:0@omit_headings_from_table_of_contents_below0I"path -> string or nil ;T0[[I"to_path;T@ I"();T@FI"IO;TcRDoc::NormalClass00