Class: Pod::Installer::Analyzer::PodfileDependencyCache
- Inherits:
-
Object
- Object
- Pod::Installer::Analyzer::PodfileDependencyCache
- Defined in:
- lib/cocoapods-bb-PodAssistant/babybus/bbsadvert/podfile_dependency_cache.rb
Instance Method Summary collapse
- #bb_origin_initialize ⇒ Object
-
#initialize(podfile_dependencies, dependencies_by_target_definition) ⇒ PodfileDependencyCache
constructor
A new instance of PodfileDependencyCache.
Constructor Details
#initialize(podfile_dependencies, dependencies_by_target_definition) ⇒ PodfileDependencyCache
Returns a new instance of PodfileDependencyCache.
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
# File 'lib/cocoapods-bb-PodAssistant/babybus/bbsadvert/podfile_dependency_cache.rb', line 12 def initialize(podfile_dependencies, dependencies_by_target_definition) bb_origin_initialize(podfile_dependencies,dependencies_by_target_definition) if @podfile_dependencies @podfile_dependencies.each do |dep| if dep.name.include?('/noidfa') Pod::Config.instance.bb_idfa_flag = 'noidfa' break elsif dep.name.include?('/idfa') Pod::Config.instance.bb_idfa_flag = 'idfa' break end end end end |
Instance Method Details
#bb_origin_initialize ⇒ Object
11 |
# File 'lib/cocoapods-bb-PodAssistant/babybus/bbsadvert/podfile_dependency_cache.rb', line 11 alias_method :bb_origin_initialize, :initialize |