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.
130 131 132 |
# File 'lib/path/file.rb', line 130 def realdirpath(basedir=nil) Path.new(real_path_internal(false, basedir)) end |