Class: Pod::Specification::Linter::Analyzer
- Inherits:
-
Object
- Object
- Pod::Specification::Linter::Analyzer
- Defined in:
- lib/cocoapods-core/specification/linter/analyzer.rb
Instance Method Summary collapse
-
#analyze ⇒ Results
Analyzes the consumer adding a Result for any failed check to the #results object.
-
#initialize(consumer, results) ⇒ Analyzer
constructor
A new instance of Analyzer.
Constructor Details
#initialize(consumer, results) ⇒ Analyzer
Returns a new instance of Analyzer.
7 8 9 10 11 |
# File 'lib/cocoapods-core/specification/linter/analyzer.rb', line 7 def initialize(consumer, results) @consumer = consumer @results = results @results.consumer = @consumer end |
Instance Method Details
#analyze ⇒ Results
Analyzes the consumer adding a Result for any failed check to the #results object.
18 19 20 21 22 23 |
# File 'lib/cocoapods-core/specification/linter/analyzer.rb', line 18 def analyze check_attributes validate_file_patterns check_if_spec_is_empty results end |