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.


917
918
919
920
# File 'lib/cocoapods/validator.rb', line 917

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


922
923
924
# File 'lib/cocoapods/validator.rb', line 922

def subspecs
  @subspecs
end