Sha256: 98be7d32f83cc980e3b8805946fd9d64268def93b4433493d40986018edf0ad2

Contents?: true

Size: 290 Bytes

Versions: 1

Compression:

Stored size: 290 Bytes

Contents

require 'epubcheck/ruby'

module Epubcheck
  module Ruby
    class CLI
      JAR_FILE = File.join(Epubcheck::Ruby::JAR_DIR, 'epubcheck-4.1.1/epubcheck.jar')

      def initialize
      end

      def execute(args)
        system("java", "-jar", JAR_FILE, *args)
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
epubcheck-ruby-4.1.1.0 lib/epubcheck/ruby/cli.rb