Method: QB::Path#relative
- Defined in:
- lib/qb/path.rb
#relative ⇒ QB::Path?
Relative path from #cwd to self, if one exists.
217 218 219 220 221 222 223 |
# File 'lib/qb/path.rb', line 217 def relative begin relative_path_from cwd rescue ArgumentError => error nil end end |