Method: Pod::Specification::Linter#warnings

Defined in:
lib/cocoapods-core/specification/linter.rb

#warningsArray<Result>

Returns all the warnings generated by the Linter.

Returns:

  • (Array<Result>)

    all the warnings generated by the Linter.



75
76
77
# File 'lib/cocoapods-core/specification/linter.rb', line 75

def warnings
  @warnings ||= results.select { |r| r.type == :warning }
end