Class: Epuber::Compiler::FileTypes::IBooksDisplayOptionsFile
- Inherits:
-
GeneratedFile
- Object
- AbstractFile
- GeneratedFile
- Epuber::Compiler::FileTypes::IBooksDisplayOptionsFile
- Defined in:
- lib/epuber/compiler/file_types/ibooks_display_options_file.rb
Instance Attribute Summary
Attributes inherited from GeneratedFile
Attributes inherited from AbstractFile
#destination_path, #final_destination_path, #group, #path_type, #pkg_destination_path, #properties
Instance Method Summary collapse
-
#initialize ⇒ IBooksDisplayOptionsFile
constructor
A new instance of IBooksDisplayOptionsFile.
- #process(compilation_context) ⇒ Object
Methods inherited from GeneratedFile
Methods inherited from AbstractFile
#==, file_copy, file_copy!, file_copy?, write_to_file, write_to_file!, write_to_file?
Constructor Details
#initialize ⇒ IBooksDisplayOptionsFile
Returns a new instance of IBooksDisplayOptionsFile.
10 11 12 13 14 15 |
# File 'lib/epuber/compiler/file_types/ibooks_display_options_file.rb', line 10 def initialize super self.destination_path = 'META-INF/com.apple.ibooks.display-options.xml' self.path_type = :package end |
Instance Method Details
#process(compilation_context) ⇒ Object
19 20 21 22 |
# File 'lib/epuber/compiler/file_types/ibooks_display_options_file.rb', line 19 def process(compilation_context) gen = MetaInfGenerator.new(compilation_context) write_generate(gen.) end |