Sha256: f399295f02da2b4dbc4295991a94625eaf1287d072965b6741f8f926e620fce2

Contents?: true

Size: 580 Bytes

Versions: 2

Compression:

Stored size: 580 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
      raise "This is an abstract class!"
    end

    def input_to_isodoc(file)
      raise "This is an abstract class!"
    end

    def output(isodoc_node, outname, format, options={})
      raise "This is an abstract class!"
    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.2.4 lib/metanorma/processor.rb
metanorma-0.2.3 lib/metanorma/processor.rb