Class: Idml::Parts::XmpDescription

Inherits:
Lutaml::Model::Serializable
  • Object
show all
Defined in:
lib/idml/parts/xmp.rb

Overview

Single <rdf:Description> element from an XMP packet. Combines children from multiple namespaces (dc:, xmp:) by composing nested Serializable models — each child carries its own namespace declaration per Lutaml's namespace API.

Instance Method Summary collapse

Instance Method Details

#authorObject



230
231
232
# File 'lib/idml/parts/xmp.rb', line 230

def author
  creator&.values&.first
end

#keywordsObject



234
235
236
# File 'lib/idml/parts/xmp.rb', line 234

def keywords
  subject&.values&.join(", ")
end