Class: Modspec::ConformanceTest

Inherits:
Lutaml::Model::Serializable
  • Object
show all
Defined in:
lib/modspec/conformance_test.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#corresponding_requirementsObject

Returns the value of attribute corresponding_requirements.



37
38
39
# File 'lib/modspec/conformance_test.rb', line 37

def corresponding_requirements
  @corresponding_requirements
end

#parent_classObject

Returns the value of attribute parent_class.



37
38
39
# File 'lib/modspec/conformance_test.rb', line 37

def parent_class
  @parent_class
end

Instance Method Details

#validateObject



39
40
41
42
43
44
# File 'lib/modspec/conformance_test.rb', line 39

def validate
  errors = super()
  errors.concat(validate_requirement_mapping)
  errors.concat(validate_class_mapping)
  errors
end