How would I hook into the system, let's say during the execution of one
particular method (and whatever methods it calls recursively), and
substitute one Class for another, without effecting the rest of the system?
For example:
myMethod
"Until I return, use MyOtherClass instead of MyClass, but only in this
thread"
MyClass doSomething.
ThirdClass doSomethingElse.
ThirdClass>>doSomethingElse
"This use of MyClass will also be replaced with MyOtherClass"
MyClass doAnotherThing.
Thanks.
Sean
--
View this message in context:
http://forum.world.st/Late-binding-class-names-tp4575026p4575026.html
Sent from the Pharo Smalltalk mailing list archive at Nabble.com.