Sha256: abcb0de8a4bd0caea4496136bbc575b329c1b2f1e0f53c555ba7d6a38b5a7dc5

Contents?: true

Size: 594 Bytes

Versions: 83

Compression:

Stored size: 594 Bytes

Contents

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

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

Version data entries

83 entries across 83 versions & 1 rubygems

Version Path
metanorma-ribose-2.0.6 lib/metanorma/ribose.rb
metanorma-ribose-2.0.5 lib/metanorma/ribose.rb
metanorma-ribose-2.0.4 lib/metanorma/ribose.rb
metanorma-ribose-2.0.3 lib/metanorma/ribose.rb
metanorma-ribose-2.0.2 lib/metanorma/ribose.rb
metanorma-ribose-2.0.1 lib/metanorma/ribose.rb
metanorma-ribose-2.0.0 lib/metanorma/ribose.rb
metanorma-ribose-1.8.5 lib/metanorma/ribose.rb
metanorma-ribose-1.8.4 lib/metanorma/ribose.rb
metanorma-ribose-1.8.3 lib/metanorma/ribose.rb
metanorma-ribose-1.8.2 lib/metanorma/ribose.rb
metanorma-ribose-1.8.1 lib/metanorma/ribose.rb
metanorma-ribose-1.8.0 lib/metanorma/ribose.rb
metanorma-ribose-1.7.13 lib/metanorma/ribose.rb
metanorma-ribose-1.7.12 lib/metanorma/ribose.rb
metanorma-ribose-1.7.11 lib/metanorma/ribose.rb
metanorma-ribose-1.7.10 lib/metanorma/ribose.rb
metanorma-ribose-1.7.9 lib/metanorma/ribose.rb
metanorma-ribose-1.7.8 lib/metanorma/ribose.rb
metanorma-ribose-1.7.7 lib/metanorma/ribose.rb