Class: Modspec::NormativeStatement

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

Instance Method Summary collapse

Instance Method Details

#validate(suite = nil) ⇒ Object



49
50
51
52
53
54
# File 'lib/modspec/normative_statement.rb', line 49

def validate(suite = nil)
  errors = super()
  errors.concat(validate_dependencies(suite)) if suite
  errors.concat(validate_nested_requirement)
  errors
end