method

path

Importance_1
Ruby latest stable (v2_5_5) - 0 notes - Class: File
path(p1) public

Returns the string representation of the path

File.path("/dev/null")          #=> "/dev/null"
File.path(Pathname.new("/tmp")) #=> "/tmp"
Show source
Register or log in to add new notes.