Sha256: 7feef7a4804a3b9ed33f970a14bdae7cdd8a831ada1e0d2574319fd4276eed09

Contents?: true

Size: 587 Bytes

Versions: 15

Compression:

Stored size: 587 Bytes

Contents

# frozen_string_literal: true

module Epuber
  class Compiler
    module FileTypes
      require_relative 'generated_file'

      class ContainerXMLFile < GeneratedFile
        def initialize
          super

          self.destination_path = 'META-INF/container.xml'
          self.path_type = :package
        end

        # @param [Compiler::CompilationContext] compilation_context
        #
        def process(compilation_context)
          gen = MetaInfGenerator.new(compilation_context)
          write_generate(gen.generate_container_xml)
        end
      end
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
epuber-0.11.1 lib/epuber/compiler/file_types/container_xml_file.rb
epuber-0.11.0 lib/epuber/compiler/file_types/container_xml_file.rb
epuber-0.10.3 lib/epuber/compiler/file_types/container_xml_file.rb
epuber-0.10.2 lib/epuber/compiler/file_types/container_xml_file.rb
epuber-0.10.1 lib/epuber/compiler/file_types/container_xml_file.rb
epuber-0.9.3 lib/epuber/compiler/file_types/container_xml_file.rb
epuber-0.9.2 lib/epuber/compiler/file_types/container_xml_file.rb
epuber-0.9.1 lib/epuber/compiler/file_types/container_xml_file.rb
epuber-0.9.0 lib/epuber/compiler/file_types/container_xml_file.rb
epuber-0.8.0 lib/epuber/compiler/file_types/container_xml_file.rb
epuber-0.7.4 lib/epuber/compiler/file_types/container_xml_file.rb
epuber-0.7.3 lib/epuber/compiler/file_types/container_xml_file.rb
epuber-0.7.2 lib/epuber/compiler/file_types/container_xml_file.rb
epuber-0.7.1 lib/epuber/compiler/file_types/container_xml_file.rb
epuber-0.7.0 lib/epuber/compiler/file_types/container_xml_file.rb