Sha256: 56079508f62a4af0be40ecae8ff90371763a528fa962ea4f8d7e7ed2a92bd35b
Contents?: true
Size: 395 Bytes
Versions: 5
Compression:
Stored size: 395 Bytes
Contents
# frozen_string_literal: true module Kitabu class Dependency def self.calibre? @calibre ||= `which ebook-convert` && $CHILD_STATUS.success? end def self.prince? @prince ||= `which prince` && $CHILD_STATUS.success? end def self.linux? RUBY_PLATFORM.include?("linux") end def self.macos? RUBY_PLATFORM.include?("darwin") end end end
Version data entries
5 entries across 5 versions & 1 rubygems