calling a java method from a ruby class -
here trying call java method inside ruby function.
while calling java function inside ruby class. getting
atest.rb:9: dynamic constant assignment obj = java::sikuliautomation.new
my ruby code
require 'java' require 'c:/x/test.jar' class main def run obj = java::sikuliautomation.new obj.automation end end app = main.new app.run
test.jar conatins method automation
Comments
Post a Comment