[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-dev] [approve] Function-bund




On 31 Dec 2005, at 13:09, ronald kuivila wrote:
To save typing, how about defining a class S that simply redirects methods to Server.default?
This would save typing and work anywhere (unlike the current convention of using the interpreter variable s).

RJK

Would this be the correct way to do this?

<x-tad-smaller>S {
*doesNotUnderstand { |selector ...args|
^Server.default.perform(selector, *args);
}
}
</x-tad-smaller>

Or is there a better way to redirect?

S.