Sha256: 08fcdabee2739e284136b00a3ae45d5eebb2d323ef9eb5807741eb5946e1d0a7
Contents?: true
Size: 780 Bytes
Versions: 45
Compression:
Stored size: 780 Bytes
Contents
require "isodoc" require_relative "metadata" require_relative "xref" require_relative "i18n" module IsoDoc module UN module Init def metadata_init(lang, script, locale, labels) @meta = Metadata.new(lang, script, locale, 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, locale, i18nyaml = nil) @i18n = I18n.new(lang, script, locale: locale, i18nyaml: i18nyaml || @i18nyaml) end def fileloc(loc) File.join(File.dirname(__FILE__), loc) end end end end
Version data entries
45 entries across 45 versions & 1 rubygems