class Epuber::Compiler::FileTypes::ContainerXMLFile

Public Class Methods

new() click to toggle source
Calls superclass method
# File lib/epuber/compiler/file_types/container_xml_file.rb, line 9
def initialize
  super

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

Public Instance Methods

process(compilation_context) click to toggle source

@param [Compiler::CompilationContext] compilation_context

# File lib/epuber/compiler/file_types/container_xml_file.rb, line 18
def process(compilation_context)
  gen = MetaInfGenerator.new(compilation_context)
  write_generate(gen.generate_container_xml)
end