Class: DocverterServer::Runner::Calibre
- Defined in:
- lib/docverter-server/runner/calibre.rb
Instance Attribute Summary
Attributes inherited from Base
#directory, #input_filename, #options
Instance Method Summary collapse
Methods inherited from Base
#generate_output_filename, #initialize, #run_command, #with_manifest
Constructor Details
This class inherits a constructor from DocverterServer::Runner::Base
Instance Method Details
#run ⇒ Object
2 3 4 5 6 7 8 9 |
# File 'lib/docverter-server/runner/calibre.rb', line 2 def run with_manifest do output = generate_output_filename('mobi') = ["ebook-convert", input_filename, output] run_command() output end end |