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