Current File : //proc/thread-self/root/proc/self/root/opt/alt/ruby18/share/ri/1.8/system/File/path-i.yaml |
--- !ruby/object:RI::MethodDescription
aliases: []
block_params:
comment:
- !ruby/struct:SM::Flow::P
body: Returns the pathname used to create <em>file</em> as a string. Does not normalize the name.
- !ruby/struct:SM::Flow::VERB
body: " File.new("testfile").path #=> "testfile"\n File.new("/tmp/../tmp/xxx", "w").path #=> "/tmp/../tmp/xxx"\n"
full_name: File#path
is_singleton: false
name: path
params: |
file.path -> filename
visibility: public