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.



973
974
975
976
# File 'lib/cocoapods/validator.rb', line 973

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.



978
979
980
# File 'lib/cocoapods/validator.rb', line 978

def subspecs
  @subspecs
end