Sha256: 26cbb8e5753d643f1d2f6be557e061cd2277d31fd1bc6f918ec1f3abcf1ebffa

Contents?: true

Size: 294 Bytes

Versions: 6

Compression:

Stored size: 294 Bytes

Contents

module Kitabu
  class Dependency
    def self.kindlegen?
      @kindlegen ||= `which kindlegen` && $?.success?
    end

    def self.prince?
      @prince ||= `which prince` && $?.success?
    end

    def self.html2text?
      @html2text ||= `which html2text` && $?.success?
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
kitabu-2.1.0 lib/kitabu/dependency.rb
kitabu-2.0.4 lib/kitabu/dependency.rb
kitabu-2.0.3 lib/kitabu/dependency.rb
kitabu-2.0.2 lib/kitabu/dependency.rb
kitabu-2.0.1 lib/kitabu/dependency.rb
kitabu-2.0.0 lib/kitabu/dependency.rb