[Newbies] Catching message send

Mathieu mathk.sue at gmail.com
Tue Oct 31 10:47:55 UTC 2006


Frank Urbach a écrit :
> Hi Mathieu,
> 
> what do you want do?
> 
> Cheers,
>   Frank
> 

I want to catch evry message to an IRBuilder but manage to do it in my own way.
It just to know if there is a Simple way.

CatchIRSend>>doesNotUnderstand: aMessage

	| message |
	message := aMessage selector asString.
	aMessage arguments do:[:each | message := message, ' ', each printString].
	messageSend add: message.
	irBuilder perform: aMessage selector withArguments: aMessage arguments
	

Math


More information about the Beginners mailing list