Class: Pod::Specification::Linter::Analyzer

Inherits:
Object
  • Object
show all
Includes:
ResultHelpers
Defined in:
lib/cocoapods-core/specification/linter/analyzer.rb

Instance Attribute Summary

Attributes included from ResultHelpers

#results

Instance Method Summary collapse

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

#analyzeObject



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