Skip to content

Instantly share code, notes, and snippets.

@Serabe
Created April 22, 2009 22:08
Show Gist options
  • Save Serabe/100125 to your computer and use it in GitHub Desktop.
Save Serabe/100125 to your computer and use it in GitHub Desktop.
serabe@Sylar:~/Programming/projects/ruby2java$ jruby src/compiler2.rb CloneableObject RubyClass examples/interface_example.rb
serabe@Sylar:~/Programming/projects/ruby2java$ javap CloneableObject
Compiled from "examples.interface_example.rb"
public class CloneableObject extends org.jruby.RubyObject implements java.lang.Cloneable{
static {};
public CloneableObject();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment