Class: Pod::Validator::Result

Inherits:
Specification::Linter::Results::Result
  • Object
show all
Defined in:
lib/cocoapods/validator.rb

Overview

Specialized Result to support subspecs aggregation

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(type, attribute_name, message, public_only = false) ⇒ Result

Returns a new instance of Result


915
916
917
918
# File 'lib/cocoapods/validator.rb', line 915

def initialize(type, attribute_name, message, public_only = false)
  super(type, attribute_name, message, public_only)
  @subspecs = []
end

Instance Attribute Details

#subspecsObject (readonly)

Returns the value of attribute subspecs


920
921
922
# File 'lib/cocoapods/validator.rb', line 920

def subspecs
  @subspecs
end