Method: Filepath::FilesystemInfo#absolute_path
- Defined in:
- lib/filepath/filepath.rb
#absolute_path(base_dir = Dir.pwd) ⇒ Object
FIXME: rename to #absolute?
827 828 829 830 831 832 833 |
# File 'lib/filepath/filepath.rb', line 827 def absolute_path(base_dir = Dir.pwd) # FIXME: rename to `#absolute`? if self.absolute? return self end return base_dir.as_path / self end |