Module: Pod::Podfile::DSL
- Defined in:
- lib/cocoapods-terra-bom/pod/pod.rb
Instance Method Summary collapse
Instance Method Details
#pod(name = nil, *requirements, &block) ⇒ Object
8 9 10 11 12 13 14 15 16 17 18 19 20 |
# File 'lib/cocoapods-terra-bom/pod/pod.rb', line 8 def pod(name = nil, *requirements, &block) if requirements.length() > 0 real_pod(name, *requirements, &block) else version = Pod::Command::BomPodCommand.get_version(name) unless version.nil? real_pod(name, version, &block) else real_pod(name, *requirements, &block) end end end |
#real_pod ⇒ Object
6 |
# File 'lib/cocoapods-terra-bom/pod/pod.rb', line 6 alias_method :real_pod, :pod |