metanorma/metanorma-iso

View on GitHub
lib/relaton/render/general.rb

Summary

Maintainability
A
0 mins
Test Coverage
require "relaton-render"
require "isodoc"
require_relative "parse"

module Relaton
  module Render
    module Iso
      class General < ::Relaton::Render::IsoDoc::General
        def config_loc
          YAML.load_file(File.join(File.dirname(__FILE__), "config.yml"))
        end

        def klass_initialize(_options)
          super
          @parseklass = Relaton::Render::Iso::Parse
        end
      end
    end
  end
end