Sha256: e35ceb432c76f65d1e56d479b3e48534e70de87cbfb042f7fe2fc72d022ed0fd
Contents?: true
Size: 267 Bytes
Versions: 56
Compression:
Stored size: 267 Bytes
Contents
module Pcdm::Models::Collections extend ActiveSupport::Concern def compose_from(*collections) collections = collections.map {|c| (c.is_a? String) ? ActiveFedora::Base.find(c) : c } self.structMetadata.merge(*collections.map {|c| c.structMetadata}) end end
Version data entries
56 entries across 56 versions & 1 rubygems