Sha256: f049548246d9d09fe205c6519572b9b59b373829a70a37b0de14db8de60906a0

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.2.2/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.2.2.0 lib/epubcheck/ruby/cli.rb