From: wannes Date: 2005-04-19T01:44:45+09:00 Subject: Re: object.["somepropertyOrmethod"] == object.somepropertyOrmethod ? falcon wrote: > Does Ruby allow javascript like invocation of methods (or access to > properties) like this: > someProperty = "nameOfStudent" > Object[someProperty] If i understand your question correctly, you could do something like Object.send(someProperty, args) > Also, is there a limit to how deep one can do recursion? Recursion can > easily cause stack overflow error in Java, but some languages don't > have that problem (I guess it is called tail call optimization). the short answer: it depends ;) There has been a thread some time ago about the stack-size http://rubyurl.com/Rb7CH [1] grtz, wannes [1]