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.



975
976
977
978
# File 'lib/cocoapods/validator.rb', line 975

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.



980
981
982
# File 'lib/cocoapods/validator.rb', line 980

def subspecs
  @subspecs
end