lib/isodoc/vg/word_convert.rb in metanorma-vg-1.1.3 vs lib/isodoc/vg/word_convert.rb in metanorma-vg-1.2.0
- old
+ new
@@ -1,19 +1,17 @@
require "isodoc"
require "isodoc/generic/word_convert"
-require "isodoc/vg/metadata"
+require_relative "init"
module IsoDoc
module VG
# A {Converter} implementation that generates Word output, and a document
# schema encapsulation of the document for validation
class WordConvert < IsoDoc::Generic::WordConvert
def configuration
Metanorma::VG.configuration
end
- def metadata_init(lang, script, labels)
- @meta = Metadata.new(lang, script, labels)
- end
+ include Init
end
end
end