James Gray wrote:

> How are you going to assign a variable (iText = ...), and then
> convince Ruby to treat it as a method (to trigger method_missing())?
> 

I just tested this with a quick one and found that if you do something 
like

object.iTest=5

Then method_missing will get 'iTest=' as the symbol, and 'n' as an 
argument.  Then it's a simple matter of trimming the 'i' off the front 
and returning the result of '(test=n).to_i'.

_Kevin

-- 
Posted via http://www.ruby-forum.com/.