Sha256: 97edb9d3c7c9c7c33227ac823d04c865e199a3850bc4041c0680203fd286fa59

Contents?: true

Size: 238 Bytes

Versions: 10

Compression:

Stored size: 238 Bytes

Contents

module Kitabu
  module Parser
    class Mobi < Base
      def parse
        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

10 entries across 10 versions & 1 rubygems

Version Path
kitabu-1.0.6 lib/kitabu/parser/mobi.rb
kitabu-1.0.5 lib/kitabu/parser/mobi.rb
kitabu-1.0.4 lib/kitabu/parser/mobi.rb
kitabu-1.0.3 lib/kitabu/parser/mobi.rb
kitabu-1.0.2 lib/kitabu/parser/mobi.rb
kitabu-1.0.1 lib/kitabu/parser/mobi.rb
kitabu-1.0.0 lib/kitabu/parser/mobi.rb
kitabu-1.0.0.rc4 lib/kitabu/parser/mobi.rb
kitabu-1.0.0.rc3 lib/kitabu/parser/mobi.rb
kitabu-1.0.0.rc2 lib/kitabu/parser/mobi.rb