module Cronto
Constants
- VERSION
Public Instance Methods
generate(*args)
click to toggle source
# File lib/cronto.rb, line 14 def generate(*args) out, err, status = Open3.capture3(['java', 'cronto'], '-jar', jar, *args) if status.success? return out else raise Cronto::Error, err end end
jar()
click to toggle source
# File lib/cronto.rb, line 10 def jar File.dirname(File.realpath(__FILE__)) + '/../out/artifacts/cronto_jar/cronto.jar' end
run(*args)
click to toggle source
# File lib/cronto.rb, line 24 def run(*args) puts generate(*args) end