Sha256: 75a1ad965baa62584846e161e14cc6dbd6c805cb9620120a92684bd5d144502f
Contents?: true
Size: 775 Bytes
Versions: 6
Compression:
Stored size: 775 Bytes
Contents
require "isodoc" require_relative "metadata" require_relative "xref" require_relative "i18n" module IsoDoc module Iso 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) @i18n = I18n.new(lang, script, i18nyaml || @i18nyaml) end def amd(docxml) doctype = docxml&.at(ns("//bibdata/ext/doctype"))&.text %w(amendment technical-corrigendum).include? doctype end def clausedelim "" end end end end
Version data entries
6 entries across 6 versions & 1 rubygems