class CookbookOmnifetch::PathLocation

def expanded_path

Returns:
  • (Pathname) -
def expanded_path
  # TODO: this requires Berkshelf::Dependency to provide a delegate (ish) method that does
  #
  # def relative_paths_root
  #   File.dirname(berksfile.filepath)
  # end
  @expanded_path ||= Pathname.new File.expand_path(options[:path], dependency.relative_paths_root)
end