Sha256: 66cb9d3f496aeefdeaf3f8871d1443603b6f3ba1787332dd83ec156aa1fe7f50

Contents?: true

Size: 377 Bytes

Versions: 12

Compression:

Stored size: 377 Bytes

Contents

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

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

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

    def self.pygments_rb?
      @pygments_rb ||= defined?(Pygments)
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
bookmaker-0.7.0.pre9 lib/bookmaker/dependency.rb
bookmaker-0.7.0.pre5 lib/bookmaker/dependency.rb
bookmaker-0.7.0.pre4 lib/bookmaker/dependency.rb
bookmaker-0.7.0.pre3 lib/bookmaker/dependency.rb
bookmaker-0.6.0 lib/bookmaker/dependency.rb
bookmaker-0.5.5 lib/bookmaker/dependency.rb
bookmaker-0.5.2 lib/bookmaker/dependency.rb
bookmaker-0.5.0 lib/bookmaker/dependency.rb
bookmaker-0.4.0 lib/bookmaker/dependency.rb
bookmaker-0.3.1 lib/bookmaker/dependency.rb
bookmaker-0.2.0 lib/bookmaker/dependency.rb
bookmaker-0.1.0 lib/bookmaker/dependency.rb