Sha256: ccab735d5cf35e9e85f2540a25fbdd68d25b49d65c35ebf431aaaaaad2d2c0c6
Contents?: true
Size: 531 Bytes
Versions: 1
Compression:
Stored size: 531 Bytes
Contents
require "lutaml/model" module Reqif class SpecRelations < Lutaml::Model::Serializable attribute :spec_relation, SpecRelation, collection: true attribute :spec_relation_ref, :string, collection: true xml do root "SPEC-RELATIONS" namespace "http://www.omg.org/spec/ReqIF/20110401/reqif.xsd", "REQIF" # TODO: Only one of these values can be active at the same time map_element "SPEC-RELATION", to: :spec_relation map_element "SPEC-RELATION-REF", to: :spec_relation_ref end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
reqif-0.1.0 | lib/reqif/spec_relations.rb |