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

Popular posts from this blog

rest - Spring boot: Request method 'PUT' not supported -

php - Magento - Deleted Base url key -

symfony - imagine_filter() not generating the correct url in LiipImagineBundle -