"Public API", or prefered way, to call Ruby from Java #6873
-
So, I started a project as a joke: https://github.com/mauricioszabo/clojuby. But then, a real necessity emerged from that code: to somehow "bridge" functions from Java world to JRuby. At the beginning, I was using
"some string".instance_eval do
self.upcase # <- This code I want to implement in Java
end So, on Java side, I want to somehow generate a So... how can I do this? Is there a "public API" to make this possible? I'm asking because all the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @mauricioszabo - does this page in the wiki help you? The pages are a bit old but if you run into issues, please ask here or in the mailing list and you might get some more answers! |
Beta Was this translation helpful? Give feedback.
Hi @mauricioszabo - does this page in the wiki help you?
https://github.com/jruby/jruby/wiki/RedBridge
The pages are a bit old but if you run into issues, please ask here or in the mailing list and you might get some more answers!