Sha256: dfd1bdb2f5cdb3d7a63941a7bcde63d6ee47ad7c65078d65f4b4aecf708c0bce
Contents?: true
Size: 608 Bytes
Versions: 2
Compression:
Stored size: 608 Bytes
Contents
# Registry of all Metanorma types and entry points # module Metanorma class Processor attr_reader :short attr_reader :input_format def initialize raise "This is an abstract class!" end def output_formats { xml: "xml" } end def input_to_isodoc(file, filename) raise "This is an abstract class!" end def output(isodoc_node, outname, format, options={}) File.open(outname, "w:UTF-8") { |f| f.write(isodoc_node) } end def extract_options(file) Metanorma::Input::Asciidoc.new.extract_options(file) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
metanorma-0.3.1 | lib/metanorma/processor.rb |
metanorma-0.3.0 | lib/metanorma/processor.rb |