Sha256: ca8281a85664d8cb8543cd28f437cbb26c2e9ebbfb9c6044509be24ea32fdbb0

Contents?: true

Size: 804 Bytes

Versions: 41

Compression:

Stored size: 804 Bytes

Contents

require "relaton-render"
require_relative "fields"
require_relative "parse"

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

        def klass_initialize(_options)
          @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::IHO::Fields
          @parseklass = Relaton::Render::IHO::Parse
        end
      end
    end
  end
end

Version data entries

41 entries across 41 versions & 1 rubygems

Version Path
metanorma-iho-0.6.0 lib/relaton/render/general.rb