Class: Epuber::Compiler::FileTypes::MimeTypeFile
- Inherits:
-
GeneratedFile
- Object
- AbstractFile
- GeneratedFile
- Epuber::Compiler::FileTypes::MimeTypeFile
- Defined in:
- lib/epuber/compiler/file_types/mime_type_file.rb
Instance Attribute Summary
Attributes inherited from GeneratedFile
Attributes inherited from AbstractFile
#compilation_context, #destination_path, #final_destination_path, #group, #path_type, #pkg_destination_path, #properties
Instance Method Summary collapse
-
#initialize ⇒ MimeTypeFile
constructor
A new instance of MimeTypeFile.
Methods inherited from GeneratedFile
Methods inherited from AbstractFile
#==, file_copy!, write_to_file, write_to_file!, write_to_file?
Constructor Details
#initialize ⇒ MimeTypeFile
Returns a new instance of MimeTypeFile.
9 10 11 12 13 14 15 |
# File 'lib/epuber/compiler/file_types/mime_type_file.rb', line 9 def initialize super self.path_type = :package self.destination_path = 'mimetype' self.content = 'application/epub+zip' end |