Sha256: 14b8c18adc87aef18453e9296069615961e9816bcc894a8a06c9e00346542212
Contents?: true
Size: 636 Bytes
Versions: 8
Compression:
Stored size: 636 Bytes
Contents
require "metanorma" require "metanorma-generic" require_relative "./cc/processor" module Metanorma module Cc class Configuration < Metanorma::Generic::Configuration def initialize(*args) super end end class << self extend Forwardable attr_accessor :configuration Configuration::CONFIG_ATTRS.each do |attr_name| def_delegator :@configuration, attr_name end def configure self.configuration ||= Configuration.new yield(configuration) end end configure {} end end Metanorma::Registry.instance.register(Metanorma::Cc::Processor)
Version data entries
8 entries across 8 versions & 1 rubygems