class PodfileCP

Public Class Methods

podfile_path_transform(path) click to toggle source
# File lib/pod_builder/podfile_cp.rb, line 91
def self.podfile_path_transform(path)
  prebuilt_prefix = PodBuilder::prebuiltpath.gsub(PodBuilder::project_path, "")[1..] + "/"
  if path.start_with?(prebuilt_prefix)
    return path
  else
    return PodBuilder::Podfile.podfile_path_transform(path)
  end
end