Sha256: 146fade764db2813114576f531754bf0e8ef889e2c6a845e19d4654e9e4fa4a2
Contents?: true
Size: 566 Bytes
Versions: 4
Compression:
Stored size: 566 Bytes
Contents
module IsoDoc class Convert < ::IsoDoc::Common 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 || @i18nyaml) end def l10n(expr, lang = @lang, script = @script) @i18n.l10n(expr, lang, script) end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
isodoc-2.2.3.1 | lib/isodoc/init.rb |
isodoc-2.2.3 | lib/isodoc/init.rb |
isodoc-2.2.2.2 | lib/isodoc/init.rb |
isodoc-2.2.1 | lib/isodoc/init.rb |