Sha256: 8669dc9dd4b0053a23f29f23aa5f3eefdba0b143255f89f2242bd847686e702c
Contents?: true
Size: 702 Bytes
Versions: 5
Compression:
Stored size: 702 Bytes
Contents
require "isodoc" require_relative "metadata" require_relative "xref" require_relative "i18n" module IsoDoc module BIPM 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 || @i18nyaml) end def omit_docid_prefix(prefix) return true if %w(BIPM).include? prefix super end end end end
Version data entries
5 entries across 5 versions & 1 rubygems