class CookbookOmnifetch::PathLocation
def relative_path
-
(Pathname)
-
def relative_path # TODO: this requires Berkshelf::Dependency to provide a delegate (ish) method that does # # def relative_paths_root # File.dirname(berksfile.filepath) # end @relative_path ||= expanded_path.relative_path_from(Pathname.new(dependency.relative_paths_root)) end