Sha256: 4641f963c3feca8244af7b736b831543671bc7aca3abf7d21b7ac0411b86c601

Contents?: true

Size: 596 Bytes

Versions: 11

Compression:

Stored size: 596 Bytes

Contents

require "metanorma"
require "metanorma-generic"
require "metanorma/m3aawg/processor"

module Metanorma
  module M3AAWG

    class Configuration < Metanorma::Generic::Configuration
    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::M3AAWG::Processor)

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
metanorma-m3aawg-2.2.5 lib/metanorma/m3aawg.rb
metanorma-m3aawg-2.2.4 lib/metanorma/m3aawg.rb
metanorma-m3aawg-2.2.3 lib/metanorma/m3aawg.rb
metanorma-m3aawg-2.2.2 lib/metanorma/m3aawg.rb
metanorma-m3aawg-2.2.1 lib/metanorma/m3aawg.rb
metanorma-m3aawg-2.2.0 lib/metanorma/m3aawg.rb
metanorma-m3aawg-2.1.13 lib/metanorma/m3aawg.rb
metanorma-m3aawg-2.1.12 lib/metanorma/m3aawg.rb
metanorma-m3aawg-2.1.11 lib/metanorma/m3aawg.rb
metanorma-m3aawg-2.1.10 lib/metanorma/m3aawg.rb
metanorma-m3aawg-2.1.9 lib/metanorma/m3aawg.rb