Skip to content

Instantly share code, notes, and snippets.

@cheald
Created November 6, 2014 22:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cheald/8eecf29aef893adc8498 to your computer and use it in GitHub Desktop.
Save cheald/8eecf29aef893adc8498 to your computer and use it in GitHub Desktop.
> c1.new.method(:foo).to_java.implementationModule
=> #<Class:0x12bd053f>
> c1.new.method(:foo).to_java.implementationModule.to_java.getSuperClass()
=> #<Module:0x258fbc3e>
> c1.new.method(:foo).to_java.implementationModule.to_java.getSuperClass().to_java.getSuperClass()
=> Object
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment