Sha256: 26d3c0ddfc01cad0162c49ed91c5b97d8ce2b2fc592df7670f857eeb2bba268b

Contents?: true

Size: 240 Bytes

Versions: 3

Compression:

Stored size: 240 Bytes

Contents

module Bookmaker
  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

3 entries across 3 versions & 1 rubygems

Version Path
bookmaker-0.3.1 lib/bookmaker/parser/mobi.rb
bookmaker-0.2.0 lib/bookmaker/parser/mobi.rb
bookmaker-0.1.0 lib/bookmaker/parser/mobi.rb