Flowdock
method

to_path

Importance_1
Ruby latest stable (v1_9_3_392) - 0 notes - Class: File
to_path() public

Returns the pathname used to create file as a string. Does not normalize the name.

File.new("testfile").path               #=> "testfile"
File.new("/tmp/../tmp/xxx", "w").path   #=> "/tmp/../tmp/xxx"
Show source
Register or log in to add new notes.