Sha256: 8c1231ac5ed4418c848dcc7fe4a63f04e0236937e4d7a76b7a2be74207953976
Contents?: true
Size: 739 Bytes
Versions: 11
Compression:
Stored size: 739 Bytes
Contents
require "isodoc" require_relative "metadata" require_relative "xref" require_relative "i18n" module IsoDoc module ITU module Init def metadata_init(lang, script, i18n) @meta = Metadata.new(lang, script, i18n) end def xref_init(lang, script, _klass, i18n, options) html = HtmlConvert.new(language: lang, script: script) options = options.merge(hierarchical_assets: @hierarchical_assets) @xrefs = Xref.new(lang, script, html, i18n, options) end def i18n_init(lang, script, i18nyaml = nil) @i18n = I18n.new(lang, script, i18nyaml: i18nyaml || @i18nyaml) end def fileloc(loc) File.join(File.dirname(__FILE__), loc) end end end end
Version data entries
11 entries across 11 versions & 1 rubygems