Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Foo
- include java.lang.Readable
- java_signature 'int read(java.nio.CharBuffer)'
- def read(cb)
- 3
- end
- end
- [12] pry(main)> Foo.become_java!.declared_methods.each {|m| puts m.toGenericString }
- public org.jruby.runtime.builtin.IRubyObject rubyobj.Foo.read(org.jruby.runtime.builtin.IRubyObject[])
- ...
Advertisement
Add Comment
Please, Sign In to add comment