Created
January 26, 2012 03:30
-
-
Save banister/1680784 to your computer and use it in GitHub Desktop.
binding of caller in JRuby
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| whitequark | |
| headius: I just opened javadoc of jruby and tried to poke some classes through require 'java' | |
| headius | |
| ok | |
| headius | |
| whitequark: require 'jruby'; runtime = JRuby.runtime; context = runtime.current_context | |
| headius | |
| maybe you can poke at it from there | |
| whitequark | |
| aha! I found a perversed way | |
| NinoScript has joined (~anonymous@pc-50-243-241-201.cm.vtr.net) | |
| whitequark | |
| Thread.current.to_java.getContext.currentBinding |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment