Ruby classes are always open, and so (on the jruby side) are java classes. So this works: class ArrayList def foo; "Hello!"; end end ArrayList.new.foo => "Hello!"
Ruby classes are always open, and so (on the jruby side) are java classes. So this works: class ArrayList def foo; "Hello!"; end end ArrayList.new.foo => "Hello!"