Sha256: 95e1d011fe78a57b0d07be180d397a2769a9d4ffbcc269c2bbe21d810bbacb5f

Contents?: true

Size: 239 Bytes

Versions: 5

Compression:

Stored size: 239 Bytes

Contents

module Kitabu
  class Exporter
    class Mobi < Base
      def export
        spawn_command ["kindlegen", epub_file.to_s]
        true
      end

      def epub_file
        root_dir.join("output/#{name}.epub")
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
kitabu-2.1.0 lib/kitabu/exporter/mobi.rb
kitabu-2.0.4 lib/kitabu/exporter/mobi.rb
kitabu-2.0.3 lib/kitabu/exporter/mobi.rb
kitabu-2.0.2 lib/kitabu/exporter/mobi.rb
kitabu-2.0.1 lib/kitabu/exporter/mobi.rb