Class: Pod::DyValidator::Result

Inherits:
Specification::Linter::Results::Result
  • Object
show all
Defined in:
lib/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.



781
782
783
784
# File 'lib/validator.rb', line 781

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.



786
787
788
# File 'lib/validator.rb', line 786

def subspecs
  @subspecs
end