Sha256: 3598539c6df0753be832ea64b47877e8215f405cb2f0788c4d97a865e2555c47

Contents?: true

Size: 584 Bytes

Versions: 39

Compression:

Stored size: 584 Bytes

Contents

require "isodoc"
require_relative "metadata"
require_relative "xref"
require_relative "i18n"

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

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

      def i18n_init(lang, script, i18nyaml = nil)
        @i18n = I18n.new(lang, script, i18nyaml || @i18nyaml)
      end
    end
  end
end

Version data entries

39 entries across 39 versions & 1 rubygems

Version Path
metanorma-m3aawg-2.0.8 lib/isodoc/m3aawg/init.rb
metanorma-m3aawg-2.0.7 lib/isodoc/m3aawg/init.rb
metanorma-m3aawg-2.0.6 lib/isodoc/m3aawg/init.rb
metanorma-m3aawg-2.0.5 lib/isodoc/m3aawg/init.rb
metanorma-m3aawg-2.0.4 lib/isodoc/m3aawg/init.rb
metanorma-m3aawg-2.0.3 lib/isodoc/m3aawg/init.rb
metanorma-m3aawg-2.0.2 lib/isodoc/m3aawg/init.rb
metanorma-m3aawg-2.0.1 lib/isodoc/m3aawg/init.rb
metanorma-m3aawg-2.0.0 lib/isodoc/m3aawg/init.rb
metanorma-m3aawg-1.8.5 lib/isodoc/m3aawg/init.rb
metanorma-m3aawg-1.8.4 lib/isodoc/m3aawg/init.rb
metanorma-m3aawg-1.8.3 lib/isodoc/m3aawg/init.rb
metanorma-m3aawg-1.8.2 lib/isodoc/m3aawg/init.rb
metanorma-m3aawg-1.8.1 lib/isodoc/m3aawg/init.rb
metanorma-m3aawg-1.8.0 lib/isodoc/m3aawg/init.rb
metanorma-m3aawg-1.7.13 lib/isodoc/m3aawg/init.rb
metanorma-m3aawg-1.7.12 lib/isodoc/m3aawg/init.rb
metanorma-m3aawg-1.7.11 lib/isodoc/m3aawg/init.rb
metanorma-m3aawg-1.7.10 lib/isodoc/m3aawg/init.rb
metanorma-m3aawg-1.7.9 lib/isodoc/m3aawg/init.rb