Sha256: fd7710fc579ea873c9434d7f181333815bbe8efa19096127a48e2ed63d964fde

Contents?: true

Size: 657 Bytes

Versions: 7

Compression:

Stored size: 657 Bytes

Contents

require_relative "xref"

module IsoDoc
  module IHO
    module BaseConvert
      def metadata_init(lang, script, labels)
        @meta = Metadata.new(lang, script, labels)
      end

      def xref_init(lang, script, klass, labels, options)
        @xrefs = Xref.new(lang, script, klass, labels, options)
      end

      # terms not defined in standoc
      def error_parse(node, out)
        case node.name
        when "appendix" then clause_parse(node, out)
        else
          super
        end
      end

      def info(isoxml, out)
        @meta.series isoxml, out
        @meta.commentperiod isoxml, out
        super
      end
    end
  end
end

Version data entries

7 entries across 5 versions & 2 rubygems

Version Path
metanorma-cli-1.3.4 gems/ruby/2.6.0/gems/metanorma-iho-0.1.2/lib/isodoc/iho/base_convert.rb
metanorma-cli-1.3.4 gems/ruby/2.6.0/gems/metanorma-iho-0.1.1/lib/isodoc/iho/base_convert.rb
metanorma-cli-1.3.3.1 gems/ruby/2.6.0/gems/metanorma-iho-0.1.1/lib/isodoc/iho/base_convert.rb
metanorma-cli-1.3.3.1 gems/ruby/2.6.0/gems/metanorma-iho-0.1.2/lib/isodoc/iho/base_convert.rb
metanorma-iho-0.1.2 lib/isodoc/iho/base_convert.rb
metanorma-iho-0.1.1 lib/isodoc/iho/base_convert.rb
metanorma-iho-0.1.0 lib/isodoc/iho/base_convert.rb