| Class | File |
| In: |
lib/yard/core_ext/file.rb
|
| Parent: | Object |
| RELATIVE_PARENTDIR | = | '..' |
Turns a path to into a relative path from starting point from. The argument from is assumed to be a filename. To treat it as a directory, make sure it ends in `File::SEPARATOR` (’/’ on UNIX filesystems).
@param [String] from the starting filename
(or directory with +from_isdir+ set to +true+).
@param [String] to the final path that should be made relative.
@return [String] the relative path from from to to.