lib/relaton/plateau/xml_parser.rb in relaton-plateau-1.19.3 vs lib/relaton/plateau/xml_parser.rb in relaton-plateau-1.19.4
- old
+ new
@@ -52,9 +52,13 @@
#
def bib_item(item_hash)
BibItem.new(**item_hash)
end
+ def create_docid(**args)
+ Docidentifier.new(**args)
+ end
+
def create_doctype(type)
DocumentType.new type: type.text, abbreviation: type[:abbreviation]
end
end
end