Method: Path#realdirpath
- Defined in:
- lib/path/file.rb
#realdirpath(basedir = nil) ⇒ Object
Returns the real (absolute) path of self in the actual filesystem. The real path doesn’t contain symlinks or useless dots.
The last component of the real path can be nonexistent.
129 130 131 |
# File 'lib/path/file.rb', line 129 def realdirpath(basedir=nil) Path.new(real_path_internal(false, basedir)) end |