Sha256: 4faf77bdb26abedd39a486396cb5f9fdf9b51f16ecfa6d58df8d960ab5111461

Contents?: true

Size: 631 Bytes

Versions: 15

Compression:

Stored size: 631 Bytes

Contents

# frozen_string_literal: true

module Epuber
  class Compiler
    module FileTypes
      require_relative 'generated_file'

      class IBooksDisplayOptionsFile < GeneratedFile
        def initialize
          super

          self.destination_path = 'META-INF/com.apple.ibooks.display-options.xml'
          self.path_type = :package
        end

        # @param [Compiler::CompilationContext] compilation_context
        #
        def process(compilation_context)
          gen = MetaInfGenerator.new(compilation_context)
          write_generate(gen.generate_ibooks_display_options_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/ibooks_display_options_file.rb
epuber-0.11.0 lib/epuber/compiler/file_types/ibooks_display_options_file.rb
epuber-0.10.3 lib/epuber/compiler/file_types/ibooks_display_options_file.rb
epuber-0.10.2 lib/epuber/compiler/file_types/ibooks_display_options_file.rb
epuber-0.10.1 lib/epuber/compiler/file_types/ibooks_display_options_file.rb
epuber-0.9.3 lib/epuber/compiler/file_types/ibooks_display_options_file.rb
epuber-0.9.2 lib/epuber/compiler/file_types/ibooks_display_options_file.rb
epuber-0.9.1 lib/epuber/compiler/file_types/ibooks_display_options_file.rb
epuber-0.9.0 lib/epuber/compiler/file_types/ibooks_display_options_file.rb
epuber-0.8.0 lib/epuber/compiler/file_types/ibooks_display_options_file.rb
epuber-0.7.4 lib/epuber/compiler/file_types/ibooks_display_options_file.rb
epuber-0.7.3 lib/epuber/compiler/file_types/ibooks_display_options_file.rb
epuber-0.7.2 lib/epuber/compiler/file_types/ibooks_display_options_file.rb
epuber-0.7.1 lib/epuber/compiler/file_types/ibooks_display_options_file.rb
epuber-0.7.0 lib/epuber/compiler/file_types/ibooks_display_options_file.rb