Sha256: 0e492a736c313e95b0a2cf6cf0bd5721b110d2233cf2a974d40cb6445a6dabad
Contents?: true
Size: 731 Bytes
Versions: 22
Compression:
Stored size: 731 Bytes
Contents
require "isodoc" require_relative "metadata" require_relative "xref" require_relative "i18n" require_relative "utils" module IsoDoc module Generic 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) @xrefs = Xref.new(lang, script, html, i18n, options) end def i18n_init(lang, script, i18nyaml = nil) f = Metanorma::Generic.configuration.i18nyaml f = nil unless f.is_a? String @i18n = I18n.new( lang, script, i18nyaml || f || @i18nyaml) end include Utils end end end
Version data entries
22 entries across 22 versions & 1 rubygems