Class: Pod::SPM::Validator

Inherits:
Object
  • Object
show all
Defined in:
lib/cocoapods-spm/resolver/validator.rb

Instance Method Summary collapse

Constructor Details

#initialize(aggregate_targets, result) ⇒ Validator

Returns a new instance of Validator.


4
5
6
7
8
# File 'lib/cocoapods-spm/resolver/validator.rb', line 4

def initialize(aggregate_targets, result)
  @aggregate_targets = aggregate_targets
  @spm_pkgs = result.spm_pkgs
  @spm_dependencies_by_target = result.spm_dependencies_by_target
end

Instance Method Details

#validate!Object


10
11
12
# File 'lib/cocoapods-spm/resolver/validator.rb', line 10

def validate!
  verify_no_missing_pkgs
end