Module: Archimate::FileFormats::Serializer::ModelExchangeFile::V21::Property

Included in:
ModelExchangeFileWriter21
Defined in:
lib/archimate/file_formats/serializer/model_exchange_file/v21/property.rb

Instance Method Summary collapse

Instance Method Details

#serialize_property(xml, property) ⇒ Object



9
10
11
12
13
# File 'lib/archimate/file_formats/serializer/model_exchange_file/v21/property.rb', line 9

def serialize_property(xml, property)
  xml.property(identifierref: property.property_definition.id) do
    Serializer::XmlLangString.new(property.value, :value).serialize(xml)
  end
end