metanorma/isodoc

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

Summary

Maintainability
A
0 mins
Test Coverage
require "relaton-render"
require "metanorma-utils"

module Relaton
  module Render
    module IsoDoc
      class General < ::Relaton::Render::General
        Hash.include Metanorma::Utils::Hash

        def config_loc
          YAML.load_file(File.join(File.dirname(__FILE__),
                                   "config.yml"))
        end

        def read_config
          super.deep_merge(config_loc)
        end
      end
    end
  end
end