Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Ruby and the fly likes More advanced use of JRuby? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Languages » Ruby
Reply locked New topic
Author

More advanced use of JRuby?

Rooks Forgenal
Ranch Hand

Joined: Jun 05, 2009
Posts: 82
A lost post... I had a question about JRuby but is was lost (sorry if this is a repost). I don't know where it posted to. The ether i guess. Anyway, here is my question again.

I have this Java code to access my Ruby. I can't get it to work with anything but string parameters. Any suggestions?

THIS IS MY JAVA CODE


THIS IS MY RUBY CODE

Marc Peabody
pie sneak
Sheriff

Joined: Feb 05, 2003
Posts: 4727

Your other thread is here with my reply:
http://www.coderanch.com/t/455596/Ruby/Calling-scripting-lang-code-from


A good workman is known by his tools.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: More advanced use of JRuby?
 
Similar Threads
Variable-Length arguement Lists and the use of:
Using my own types on a Script Engine....
Calling Javascript function from Java Code
Calling scripting lang code from Java when non-strings parameters are required for script functions
Would like to use the ScriptEngineManager in Netbeans