Sha256: 4201ec7fc53807c4b01ece8d9559ae4073ce5c929f1058b24ce098d883e329ed

Contents?: true

Size: 791 Bytes

Versions: 3

Compression:

Stored size: 791 Bytes

Contents

require "relaton-render"
require_relative "parse"

module Relaton
  module Render
    module Bipm
      class General < ::Relaton::Render::IsoDoc::General
        def config_loc
          YAML.load_file(File.join(File.dirname(__FILE__), "config.yml"))
        end

        def klass_initialize(_options)
          super
          @nametemplateklass = Relaton::Render::Template::Name
          @seriestemplateklass = Relaton::Render::Template::Series
          @extenttemplateklass = Relaton::Render::Template::Extent
          @sizetemplateklass = Relaton::Render::Template::Size
          @generaltemplateklass = Relaton::Render::Template::General
          @fieldsklass = Relaton::Render::Fields
          @parseklass = Relaton::Render::Bipm::Parse
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
metanorma-bipm-2.5.10 lib/relaton/render/general.rb
metanorma-bipm-2.5.9 lib/relaton/render/general.rb
metanorma-bipm-2.5.8 lib/relaton/render/general.rb