Class: Pod::Specification::Linter::Analyzer
- Inherits:
-
Object
- Object
- Pod::Specification::Linter::Analyzer
- Includes:
- ResultHelpers
- Defined in:
- lib/cocoapods-core/specification/linter/analyzer.rb
Instance Attribute Summary
Attributes included from ResultHelpers
Instance Method Summary collapse
- #analyze ⇒ Object
-
#initialize(consumer) ⇒ Analyzer
constructor
A new instance of Analyzer.
Constructor Details
#initialize(consumer) ⇒ Analyzer
Returns a new instance of Analyzer.
9 10 11 12 |
# File 'lib/cocoapods-core/specification/linter/analyzer.rb', line 9 def initialize(consumer) @consumer = consumer @results = [] end |
Instance Method Details
#analyze ⇒ Object
14 15 16 17 18 |
# File 'lib/cocoapods-core/specification/linter/analyzer.rb', line 14 def analyze check_attributes validate_file_patterns check_if_spec_is_empty end |