method

realdirpath

ruby latest stable - Class: Pathname
realdirpath(p1 = v1)
public

Returns the real (absolute) pathname of self in the actual filesystem.

Does not contain symlinks or useless dots, .. and ..

The last component of the real pathname can be nonexistent.