From: MenTaLguY Date: 2007-11-28T06:54:47+09:00 Subject: Re: "Why I Program In Ruby (And Maybe Why You Shouldn't)" On Wed, 28 Nov 2007 06:30:01 +0900, MonkeeSage wrote: > A bit off-topic, but how does JRuby resolve that (i.e., the > convenience method resolution)? It is some AST magic, or something as > mundane as splitting camel-cased indentifier strings? (not to knock > the latter; if it works, it works). It uses the Java reflection API to enumerate methods on Java classes and splits camel-cased names to produce the "Ruby" versions. There isn't any syntax magic required on the Ruby side of things. > I'll have to digg into JRuby againt next weekend. It's been three > or four months since I last had a gander. :) I'll forewarn you that the Java integration portion of the code is a bit pain-inducing. We're working towards a rewrite/cleanup though. -mental