Sha256: b4830c0590b944b1e17e1a0cca29247a35f80555df9ed30f3c1c1221226f672a
Contents?: true
Size: 879 Bytes
Versions: 29
Compression:
Stored size: 879 Bytes
Contents
require "isodoc" require_relative "metadata" require_relative "i18n" module IsoDoc module JIS module Init def metadata_init(lang, script, locale, labels) @meta = Metadata.new(lang, script, locale, labels) end def xref_init(lang, script, _klass, labels, options) @xrefs = Xref.new(lang, script, HtmlConvert.new(language: lang, script: script), labels, options) end def i18n_init(lang, script, locale, i18nyaml = nil) @i18n = I18n.new(lang, script, locale: locale, i18nyaml: i18nyaml || @i18nyaml) end def omit_docid_prefix(prefix) return true if prefix.nil? || prefix.empty? super || %w(JIS).include?(prefix) end def std_docid_semantic(text) text end end end end
Version data entries
29 entries across 29 versions & 1 rubygems