Sha256: 3f0c1ac5304358bcd76304e5d0beed77f52adbe68a5af42a2fc68ed69b97b978
Contents?: true
Size: 691 Bytes
Versions: 28
Compression:
Stored size: 691 Bytes
Contents
require "isodoc" require_relative "metadata" require_relative "xref" require_relative "i18n" module IsoDoc module UN module Init def metadata_init(lang, script, labels) @meta = Metadata.new(lang, script, labels) @meta.set(:toc, @toc) 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 def fileloc(loc) File.join(File.dirname(__FILE__), loc) end end end end
Version data entries
28 entries across 28 versions & 2 rubygems