Class: Pod::Podfile::TargetDefinition
- Inherits:
-
Object
- Object
- Pod::Podfile::TargetDefinition
- Defined in:
- lib/helper/podfile_options.rb
Instance Method Summary collapse
Instance Method Details
#parse_requirements(name, requirements) ⇒ Object
18 19 20 21 22 23 24 25 26 27 28 |
# File 'lib/helper/podfile_options.rb', line 18 def parse_requirements(name, requirements) = requirements.last if .is_a?(Hash) if [:local] == true Pod::inject_local_path(name, requirements) elsif not ([:branch, :commit, :tag] & .keys).empty? and [:git] == nil Pod::inject_remote_git(name, requirements) end end end |