This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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
Would like to use the ScriptEngineManager in Netbeans
Variable-Length arguement Lists and the use of:
Calling Javascript function from Java Code
Using my own types on a Script Engine....
Calling scripting lang code from Java when non-strings parameters are required for script functions