Skip to content

Instantly share code, notes, and snippets.

@chrisseaton
Created April 17, 2015 13:16
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 chrisseaton/839012c1d874703f22ad to your computer and use it in GitHub Desktop.
Save chrisseaton/839012c1d874703f22ad to your computer and use it in GitHub Desktop.
o = "foo".to_java
fenv = o.getClass().getDeclaredField("value")
fenv.setAccessible(true)
p fenv.get(o)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment