Sha256: 33f868958f07a92187fdb8aa44cdf1cb3e7b11541e933a79aa3fc37ef03c1da9

Contents?: true

Size: 329 Bytes

Versions: 2

Compression:

Stored size: 329 Bytes

Contents

module Ddr::Models
  # A registry of common metadata mappers
  module MetadataMappers

    def dc11
      MetadataMapper.new(MetadataVocabulary.dc11)
    end

    def dcterms
      MetadataMapper.new(MetadataVocabulary.dcterms)
    end

    def duketerms
      MetadataMapper.new(MetadataVocabulary.duketerms)
    end

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ddr-models-3.0.0.alpha.2 lib/ddr/models/metadata/metadata_mappers.rb
ddr-models-3.0.0.alpha.1 lib/ddr/models/metadata/metadata_mappers.rb