lib/isodoc/ribose/init.rb
require "isodoc"require_relative "metadata"require_relative "xref" module IsoDoc module Ribose module Init def metadata_init(lang, script, locale, labels) @meta = Metadata.new(lang, script, locale, labels) end Method `xref_init` has 5 arguments (exceeds 4 allowed). Consider refactoring. 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 || Metanorma::Ribose.configuration.i18nyaml || @i18nyaml ) end end endend