Class: Pod::Installer::SPMValidator
- Inherits:
-
Object
- Object
- Pod::Installer::SPMValidator
- Defined in:
- lib/cocoapods-spm/installer/validator.rb
Instance Method Summary collapse
-
#initialize(aggregate_targets, spm_pkgs, spm_dependencies_by_target) ⇒ SPMValidator
constructor
A new instance of SPMValidator.
- #validate! ⇒ Object
Constructor Details
#initialize(aggregate_targets, spm_pkgs, spm_dependencies_by_target) ⇒ SPMValidator
Returns a new instance of SPMValidator.
4 5 6 7 8 |
# File 'lib/cocoapods-spm/installer/validator.rb', line 4 def initialize(aggregate_targets, spm_pkgs, spm_dependencies_by_target) @aggregate_targets = aggregate_targets @spm_pkgs = spm_pkgs @spm_dependencies_by_target = spm_dependencies_by_target end |
Instance Method Details
#validate! ⇒ Object
10 11 12 |
# File 'lib/cocoapods-spm/installer/validator.rb', line 10 def validate! verify_no_missing_pkgs end |