-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Charles O Nutter wrote: > As a follow-up to Tom's undesired side-effect, would you expect this to work: > > include_class 'java.util.ArrayList' > a = ArrayList.new > include_class 'java.util.List' > class List > def something > end > end > a.something
I think people would generally expect that to work, although the use case I have in mind, namely providing more rubyish integration of java classes, doesn't require it. I know some developers prefer concrete use cases to appeals for features like 'consistency' (and rightly so in many situations). Damian -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFD6hTpAyLCB+mTtykRAi4lAJ97LxpRpVGRg6+6vWE809JbvpPS+QCdFBg0 F/ZrVDSWn8mE9axhxJavUb0= =TO/J -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ Jruby-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jruby-devel
