Class: Epubber::Generators::Static

Inherits:
Epubber::Generator show all
Defined in:
lib/epubber/generators/static.rb

Instance Attribute Summary

Attributes inherited from Epubber::Generator

#book, #filename, #working_dir

Instance Method Summary collapse

Methods inherited from Epubber::Generator

#initialize, #register_generators

Constructor Details

This class inherits a constructor from Epubber::Generator

Instance Method Details

#generateObject



5
6
7
8
9
10
11
# File 'lib/epubber/generators/static.rb', line 5

def generate
  files = ['mimetype', 'META-INF/container.xml', 'META-INF/com.apple.ibooks.display-options.xml',
           'OEBPS/Styles/style.css']
  files.each do |file|
    copy file
  end
end