Skip to content
Create a gist now

Instantly share code, notes, and snippets.

$ javac
$ jruby -S irb
ruby-1.8.7-p352 :001 > require 'java'
=> true
ruby-1.8.7-p352 :002 > java_import 'MyTest'
=> Java::Default::MyTest
ruby-1.8.7-p352 :003 >
=> #<Java::Default::MyTest:0xc07bacb>
ruby-1.8.7-p352 :004 >
public class MyTest {
public void test(){}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.