Path.relative_to_cwd
You're seeing just the function
relative_to_cwd
, go back to Path module for more information.
Specs
Convenience to get the path relative to the current working directory.
If, for some reason, the current working directory
cannot be retrieved, this function returns the given path
.