See #32.
It's not very beautiful but requiring Pathname or such for a "relative_path_from" seems overkill.
Also it might fail if Dir.pwd returned a non symlink-expanded path but __FILE__ did (or the reverse).
Hopefully this does not seem to happen (they are both fully expanded).
See #32. It's not very beautiful but requiring Pathname or such for a "relative_path_from" seems overkill.
Also it might fail if Dir.pwd returned a non symlink-expanded path but
__FILE__
did (or the reverse). Hopefully this does not seem to happen (they are both fully expanded).