lib/metanorma-iec.rb in metanorma-iec-2.1.7 vs lib/metanorma-iec.rb in metanorma-iec-2.1.8
- old
+ new
@@ -5,11 +5,12 @@
require "isodoc/iec/word_convert"
require "isodoc/iec/pdf_convert"
require "isodoc/iec/presentation_xml_convert"
require "isodoc/iec/metadata"
require "isodoc/iec/xref"
+require "metanorma"
-if defined? Metanorma
+if defined? Metanorma::Registry
require_relative "metanorma/iec"
Metanorma::Registry.instance.register(Metanorma::Iec::Processor)
end