Sha256: 33ccee5565c573eec3998d6889432074d9b49b23af0aa797ebc16a942a9ff8af

Contents?: true

Size: 647 Bytes

Versions: 24

Compression:

Stored size: 647 Bytes

Contents

require "metanorma"
require "metanorma-generic"
require "metanorma/ribose/processor"

module Metanorma
  module Ribose

    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::Ribose::Processor)

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
metanorma-ribose-1.7.3 lib/metanorma/ribose.rb
metanorma-ribose-1.7.2 lib/metanorma/ribose.rb
metanorma-ribose-1.7.1 lib/metanorma/ribose.rb
metanorma-ribose-1.7.0 lib/metanorma/ribose.rb
metanorma-ribose-1.6.16 lib/metanorma/ribose.rb
metanorma-ribose-1.6.15 lib/metanorma/ribose.rb
metanorma-ribose-1.6.14 lib/metanorma/ribose.rb
metanorma-ribose-1.6.13 lib/metanorma/ribose.rb
metanorma-ribose-1.6.12 lib/metanorma/ribose.rb
metanorma-ribose-1.6.11 lib/metanorma/ribose.rb
metanorma-ribose-1.6.10 lib/metanorma/ribose.rb
metanorma-ribose-1.6.9 lib/metanorma/ribose.rb
metanorma-ribose-1.6.8 lib/metanorma/ribose.rb
metanorma-ribose-1.6.7 lib/metanorma/ribose.rb
metanorma-ribose-1.6.6 lib/metanorma/ribose.rb
metanorma-ribose-1.6.5 lib/metanorma/ribose.rb
metanorma-ribose-1.6.4 lib/metanorma/ribose.rb
metanorma-ribose-1.6.3 lib/metanorma/ribose.rb
metanorma-ribose-1.6.2 lib/metanorma/ribose.rb
metanorma-ribose-1.6.1 lib/metanorma/ribose.rb