Module: Archimate::FileFormats::Serializer::ModelExchangeFile::V30::Property

Included in:
ModelExchangeFileWriter30
Defined in:
lib/archimate/file_formats/serializer/model_exchange_file/v30/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/v30/property.rb', line 9

def serialize_property(xml, property)
  xml.property("propertyDefinitionRef" => property.property_definition.id) do
    XmlLangString.new(property.value, :value).serialize(xml)
  end
end