[Seaside] [!! SPAM] Re: Evaluate expression
Ramon Leon
ramon.leon at allresnet.com
Thu Aug 23 17:49:40 UTC 2007
> Subject: [Seaside] [!! SPAM] Re: Evaluate expression
>
> Lukas, thank you very much for your answer. It was really
> helpful. But I have one more question:
>
> In ruby I can create class which will handle method_missing method.
> This method will return variable with name. So I can write
> something like (in one of instance methods of class): eval(self.var1 +
> self.var2 / self.var3)
>
> How can I do it in smalltalk. I hope that u can help me.
>
> Cheers, Oleg
Use at your own risk, but in Smalltalk, method_missing is called
#doesNotUnderstand.
Ramon Leon
http://onsmalltalk.com
More information about the seaside
mailing list