class Pod::Podfile::TargetDefinition

Public Instance Methods

parse_requirements(name, requirements) click to toggle source
# File lib/helper/podfile_options.rb, line 18
def parse_requirements(name, requirements)

  options = requirements.last
  if options.is_a?(Hash)
    if options[:local] == true
      Pod::inject_local_path(name, requirements)
    elsif not ([:branch, :commit, :tag] & options.keys).empty? and options[:git] == nil
      Pod::inject_remote_git(name, requirements)
    end
  end
end