Class: Pod::SPM::Validator
- Inherits:
-
Object
- Object
- Pod::SPM::Validator
- Defined in:
- lib/cocoapods-spm/resolver/validator.rb
Instance Method Summary collapse
-
#initialize(aggregate_targets, result) ⇒ Validator
constructor
A new instance of Validator.
- #validate! ⇒ Object
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 |