Sha256: 5ab48d03ae0597fa9aa9664ef56196c817fdec12c739818763ec029344624c27

Contents?: true

Size: 317 Bytes

Versions: 6

Compression:

Stored size: 317 Bytes

Contents

require "isodoc"
require_relative "i18n"

module IsoDoc
  module Ietf
    module Init
      def i18n_init(lang, script, i18nyaml = nil)
        @i18n = I18n.new(lang, script, i18nyaml: i18nyaml || @i18nyaml)
      end

      def fileloc(loc)
        File.join(File.dirname(__FILE__), loc)
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
metanorma-ietf-3.0.10.1 lib/isodoc/ietf/init.rb
metanorma-ietf-3.0.10 lib/isodoc/ietf/init.rb
metanorma-ietf-3.0.9 lib/isodoc/ietf/init.rb
metanorma-ietf-3.0.8 lib/isodoc/ietf/init.rb
metanorma-ietf-3.0.7 lib/isodoc/ietf/init.rb
metanorma-ietf-3.0.6 lib/isodoc/ietf/init.rb