On Thursday 30 March 2006 10:21 pm, Charles O Nutter wrote: > That's a possibility. > > def method_missing(sym, *args) > camel = to_camel(sym) > super unless respond_to?(camel) return super unless respond_to? camel > send(camel, *args) > end >
I'm sure that's what you meant :) > On 3/30/06, Nick Sieger <[EMAIL PROTECTED]> wrote: > > On 3/30/06, Charles O Nutter <[EMAIL PROTECTED]> wrote: > > > I personally think the ruby_case makes Java integrated code look a lot > > > nicer, but I am bothered by the namespace pollution and by having two > > > of so many methods. > > > > A new thought (to me), don't know if this has been mentioned before -- > > could you add some special logic in a method_missing method somewhere > > along the method resolution chain that does this lazily, so the methods > > don't appear there at all? > > > > /Nick > > -- > Charles Oliver Nutter @ headius.blogspot.com > JRuby Developer @ jruby.sourceforge.net > Application Architect @ www.ventera.com ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Jruby-devel mailing list Jruby-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jruby-devel