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) ⇒ Result

Returns a new instance of Result.



512
513
514
515
# File 'lib/cocoapods/validator.rb', line 512

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

Instance Attribute Details

#subspecsObject (readonly)

Returns the value of attribute subspecs.



517
518
519
# File 'lib/cocoapods/validator.rb', line 517

def subspecs
  @subspecs
end