Class: Modspec::ConformanceTest
- Inherits:
-
Lutaml::Model::Serializable
- Object
- Lutaml::Model::Serializable
- Modspec::ConformanceTest
- Defined in:
- lib/modspec/conformance_test.rb
Instance Attribute Summary collapse
-
#corresponding_requirements ⇒ Object
Returns the value of attribute corresponding_requirements.
-
#parent_class ⇒ Object
Returns the value of attribute parent_class.
Instance Method Summary collapse
Instance Attribute Details
#corresponding_requirements ⇒ Object
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_class ⇒ Object
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
#validate ⇒ Object
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 |