Sha256: ea04207d651cfd1062a5e5dbf2590a8e8d5c6e81dd3c2fe3e488530d62c1110d

Contents?: true

Size: 326 Bytes

Versions: 4

Compression:

Stored size: 326 Bytes

Contents

module Bookmaker
  module Parser
    class Mobi < Base
      def parse
        puts "-- Exporting MOBI"
        spawn_command ["kindlegen", epub_file.to_s,]
        true
      rescue Exception
        p $!, $@
        false
      end
      def epub_file
        root_dir.join("output/#{name}.epub")
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
bookmaker-0.6.0 lib/bookmaker/parser/mobi.rb
bookmaker-0.5.5 lib/bookmaker/parser/mobi.rb
bookmaker-0.5.2 lib/bookmaker/parser/mobi.rb
bookmaker-0.5.0 lib/bookmaker/parser/mobi.rb