Sha256: 358e7ca330e82a39acbc3ac05895472d4df4e0e2492b323859c609aa31ba5cde

Contents?: true

Size: 402 Bytes

Versions: 1

Compression:

Stored size: 402 Bytes

Contents

require "lutaml/model"

module Reqif
  class AttributeValueReal < Lutaml::Model::Serializable
    attribute :the_value, :float
    attribute :definition, Definition

    xml do
      root "ATTRIBUTE-VALUE-REAL"
      namespace "http://www.omg.org/spec/ReqIF/20110401/reqif.xsd", "REQIF"

      map_attribute "THE-VALUE", to: :the_value
      map_element "DEFINITION", to: :definition
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
reqif-0.1.0 lib/reqif/attribute_value_real.rb