Sha256: bc6deeb304b63fe8d2bc9f95b82a5383df95c6bc9afc4034fad467901ceddb9b

Contents?: true

Size: 241 Bytes

Versions: 4

Compression:

Stored size: 241 Bytes

Contents

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

4 entries across 4 versions & 1 rubygems

Version Path
bookshelf-1.2.1 lib/bookshelf/parser/mobi.rb
bookshelf-1.2.0 lib/bookshelf/parser/mobi.rb
bookshelf-1.1.0 lib/bookshelf/parser/mobi.rb
bookshelf-1.0.0 lib/bookshelf/parser/mobi.rb