Now that we know how to write a basic JRuby code lets see how to convert the JRuby code in to Java code. JRuby comes with JRubyc a cross compiler that does the magic!
Convert to Java code
Convert JRuby Java class files
Okay great! now you have Java source class for your JRuby class but what if you want to declare package and method signature for the generated java class?
No comments:
Post a Comment