metanorma/metanorma-iho

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

Summary

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

module Relaton
  module Render
    module Iho
      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
          @fieldsklass = Relaton::Render::Iho::Fields
          @parseklass = Relaton::Render::Iho::Parse
        end
      end
    end
  end
end