Sha256: ce864edb6ea021ee158493919ecb0542528a6227af6b5aacf813a34f09b58e1f
Contents?: true
Size: 638 Bytes
Versions: 4
Compression:
Stored size: 638 Bytes
Contents
require "metanorma" require "metanorma-generic" require "metanorma/iho/processor" module Metanorma module Iho 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::Iho::Processor)
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
metanorma-iho-1.0.8 | lib/metanorma/iho.rb |
metanorma-iho-1.0.7 | lib/metanorma/iho.rb |
metanorma-iho-1.0.6 | lib/metanorma/iho.rb |
metanorma-iho-1.0.5 | lib/metanorma/iho.rb |