Class: Rpub::Commands::Compile
- Includes:
- Rpub::CompilationHelpers
- Defined in:
- lib/rpub/commands/compile.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods included from Rpub::CompilationHelpers
#concatenated_document, #config, #create_book, #layout, #markdown_files, #styles
Methods inherited from Base
Methods included from SubclassTracker
#each, #identifier, #inherited, #matching
Constructor Details
This class inherits a constructor from Rpub::Commands::Base
Instance Method Details
#invoke ⇒ Object
8 9 10 11 12 13 14 |
# File 'lib/rpub/commands/compile.rb', line 8 def invoke super book = create_book Compressor.open(book.filename) do |zip| Epub.new(book, File.read(styles)).manifest_in(zip) end end |