Ruby latest stable (v2_5_5) - 0 notes - Class: File
realpath(*args) public

Returns the real (absolute) pathname of pathname in the actual filesystem not containing symlinks or useless dots.

If dir_string is given, it is used as a base directory for interpreting relative pathname instead of the current directory.

All components of the pathname must exist when this method is called.

Show source
Register or log in to add new notes.