lib/ddr/vocab/duke_terms.rb in ddr-models-2.6.2 vs lib/ddr/vocab/duke_terms.rb in ddr-models-2.7.0.rc1
- old
+ new
@@ -1,15 +1,13 @@
-module Ddr
- module Vocab
+module Ddr::Vocab
- class DukeTerms < RDF::StrictVocabulary("http://library.duke.edu/metadata/terms/")
+ class DukeTerms < RDF::StrictVocabulary("http://library.duke.edu/metadata/terms/")
- RDFVocabularyParser.new(
- File.join(File.dirname( __FILE__ ), "sources", "duketerms.rdf"),
- "http://library.duke.edu/metadata/terms/").
- term_symbols.sort.each do |term|
- property term, type: "rdf:Property".freeze
- end
-
+ RDFVocabularyParser.new(
+ File.join(File.dirname( __FILE__ ), "sources", "duketerms.rdf"),
+ "http://library.duke.edu/metadata/terms/").
+ term_symbols.sort.each do |term|
+ property term, type: "rdf:Property".freeze
end
+
end
end