I couldn’t find anything, but thought I may ask the question.
Basically wondering if there is an equivalent of “import static” for
JRuby
so you could mixin static methods and variables from a Java class into a
Ruby class.
http://docs.oracle.com/javase/1.5.0/docs/guide/language/static-import.html
Figure I could put together a little gem + some meta programming to do
this
without too much trouble, but figured it was worth asking in case JRuby
had
it already built into the language.
Thanks!
Mark
–
E: [email protected]
T: http://www.twitter.com/neurotic
W: www.compoundtheory.com
2 Devs from Down Under Podcast
http://www.2ddu.com/