Sha256: 85108bbc7c438358dcea2d16d8738e19eb8c378e2030034167b15e7fff094ddb

Contents?: true

Size: 297 Bytes

Versions: 4

Compression:

Stored size: 297 Bytes

Contents

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

4 entries across 4 versions & 1 rubygems

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