lib/ddr/vocab.rb in ddr-models-2.11.0 vs lib/ddr/vocab.rb in ddr-models-3.0.0.alpha.1
- old
+ new
@@ -1,22 +1,24 @@
require "rdf/vocab"
-module Ddr::Vocab
- extend ActiveSupport::Autoload
+module Ddr
+ module Vocab
+ extend ActiveSupport::Autoload
- BASE_URI = "http://repository.lib.duke.edu/vocab"
+ BASE_URI = "http://repository.lib.duke.edu/vocab"
- PREMIS = begin
- RDF::Vocab::PREMIS::V1
- rescue NameError
- RDF::Vocab::PREMIS
- end
+ PREMIS = begin
+ RDF::Vocab::PREMIS::V1
+ rescue NameError
+ RDF::Vocab::PREMIS
+ end
- autoload :Asset
- autoload :Contact
- autoload :Display
- autoload :DukeTerms
- autoload :RDFVocabularyParser
- autoload :Roles
- autoload :Vocabulary
+ autoload :Asset
+ autoload :Contact
+ autoload :Display
+ autoload :DukeTerms
+ autoload :RDFVocabularyParser
+ autoload :Roles
+ autoload :Vocabulary
+ end
end