Skip to content

Instantly share code, notes, and snippets.

@Serabe
Created June 10, 2009 00:40
Show Gist options
  • Select an option

  • Save Serabe/126937 to your computer and use it in GitHub Desktop.

Select an option

Save Serabe/126937 to your computer and use it in GitHub Desktop.
//$ javap -p RubyClass
//Compiled from "inheritance_example.rb"
public class RubyClass extends org.jruby.RubyFixnum{
private static org.jruby.RubyClass __ruby_class__;
static {};
public RubyClass();
}
#$ cat inheritance_example.rb
class RubyClass
extends_class Java::OrgJruby.RubyFixnum
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment